diff options
Diffstat (limited to 'src/socket.h')
| -rw-r--r-- | src/socket.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/socket.h b/src/socket.h new file mode 100644 index 0000000..344fbc5 --- /dev/null +++ b/src/socket.h @@ -0,0 +1,12 @@ +#ifndef SOCKET_H +#define SOCKET_H + +#include <stdlib.h> + +int SocketConnect(const char *host, short port); + +int SocketDisconnect(int sock); + +int SocketSendAll(int sock, const char *buf, size_t *len); + +#endif |
