diff options
Diffstat (limited to 'src/socket.h')
| -rw-r--r-- | src/socket.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/socket.h b/src/socket.h index 0b9b099..e7b1a80 100644 --- a/src/socket.h +++ b/src/socket.h @@ -4,6 +4,7 @@ #include "config.h" #include <stdlib.h> +#include <stdint.h> int SocketConnect(const char *host, short port); @@ -19,4 +20,8 @@ enum int SocketSelect(int sock, int *events, int timeout); +int64_t SocketRecv(int sock, void *buf, size_t len, int flags); + +int64_t SocketSend(int sock, const void *buf, size_t len, int flags); + #endif |
