diff options
author | cbdev <cb@cbcdn.com> | 2019-05-31 22:10:15 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2019-05-31 22:10:15 +0200 |
commit | e16f061a715eb0d49a4872f7cc8c7bb58bb6e888 (patch) | |
tree | 848baadc27ef987eefd7370b2349d743c8e97467 /network.h | |
parent | a8233d97936eeed545ea763c0ace1eb4f87219f9 (diff) | |
download | websocksy-e16f061a715eb0d49a4872f7cc8c7bb58bb6e888.tar.gz websocksy-e16f061a715eb0d49a4872f7cc8c7bb58bb6e888.tar.bz2 websocksy-e16f061a715eb0d49a4872f7cc8c7bb58bb6e888.zip |
Unix socket peer connection
Diffstat (limited to 'network.h')
-rw-r--r-- | network.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3,5 +3,6 @@ /* Socket interface convenience functions */ int network_socket(char* host, char* port, int socktype, int listener); +int network_socket_unix(char* path, int socktype, int listener); int network_send(int fd, uint8_t* data, size_t length); int network_send_str(int fd, char* data); |