]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/sockhelp.h
removed c_store.cpp
[irc/gameservirc.git] / gameserv / sockhelp.h
index aa6b16d8764fee6dd0ea7dcb4d1cb3505a970d47..b7ec8a662dc5c5b7d14221acb798df80914762ba 100644 (file)
@@ -15,6 +15,7 @@
 #ifndef _SOCKHELP_H_
 #define _SOCKHELP_H_
 
+
 #include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -36,6 +37,7 @@ int sock_read(int sockfd, char *buf, size_t count);
 int sock_write(int sockfd, const char *buf, size_t count);
 int sock_gets( int sockfd, char *str, size_t count );
 int sock_puts(int sockfd, const char *str);
+int conn(const char *host, int port, const char *lhost, int lport);
 void ignore_pipe(void);
 
 #endif