From 11cf3f25d98f02e3e02984b5e372159d9b6c555b Mon Sep 17 00:00:00 2001 From: wens Date: Tue, 1 Mar 2005 16:26:11 +0000 Subject: able to choose ip to bind git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2568 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/proto.h') diff --git a/include/proto.h b/include/proto.h index a6b9104d..771151c5 100644 --- a/include/proto.h +++ b/include/proto.h @@ -595,7 +595,7 @@ int qsort_intcompar(const void *a, const void *b); void FREE(void *ptr); #endif #ifdef OUTTACACHE -int tobind(int port); +int tobind(char *iface_ip, int port); int toconnect(char *host, int port); int toread(int fd, void *buf, int len); int towrite(int fd, void *buf, int len); -- cgit v1.2.3