X-Git-Url: https://jfr.im/git/irc/gameservirc.git/blobdiff_plain/85ce9d3ecb3e6888dae590b3a8e347e0a2131bd9..8c5016fa576197e69b6848e8a39dbaecf26aa13a:/gameserv/sockhelp.h diff --git a/gameserv/sockhelp.h b/gameserv/sockhelp.h index aa6b16d..b7ec8a6 100644 --- a/gameserv/sockhelp.h +++ b/gameserv/sockhelp.h @@ -15,6 +15,7 @@ #ifndef _SOCKHELP_H_ #define _SOCKHELP_H_ + #include #include #include @@ -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