diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-02 00:26:11 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-02 00:26:11 +0800 |
commit | 11cf3f25d98f02e3e02984b5e372159d9b6c555b (patch) | |
tree | a39555c4a537b8badff597bbfde9c4ee68558ef5 /include | |
parent | d2b177e6004b566092ba398664e3a71b8a405971 (diff) | |
download | pttbbs-11cf3f25d98f02e3e02984b5e372159d9b6c555b.tar pttbbs-11cf3f25d98f02e3e02984b5e372159d9b6c555b.tar.gz pttbbs-11cf3f25d98f02e3e02984b5e372159d9b6c555b.tar.bz2 pttbbs-11cf3f25d98f02e3e02984b5e372159d9b6c555b.tar.lz pttbbs-11cf3f25d98f02e3e02984b5e372159d9b6c555b.tar.xz pttbbs-11cf3f25d98f02e3e02984b5e372159d9b6c555b.tar.zst pttbbs-11cf3f25d98f02e3e02984b5e372159d9b6c555b.zip |
able to choose ip to bind
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2568 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |