summaryrefslogtreecommitdiff
path: root/include/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/socket.h')
-rw-r--r--include/socket.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/socket.h b/include/socket.h
index 01005305b..254d23f46 100644
--- a/include/socket.h
+++ b/include/socket.h
@@ -47,6 +47,9 @@ typedef struct in_addr insp_inaddr;
#endif
+const char* insp_ntoa(insp_inaddr n);
+int insp_aton(const char* a, insp_inaddr* n);
+
int OpenTCPSocket();
bool BindSocket(int sockfd, insp_sockaddr client, insp_sockaddr server, int port, char* addr);
int BindPorts(bool bail);