diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-08-02 14:12:48 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-08-02 14:12:48 +0000 |
| commit | 1a592767c6e34bdeb7f30fa063b5e24c57d45894 (patch) | |
| tree | e21ebcc5bc79cc5b6a6dfb4b9635ff95c52842c4 /src/net/tcp.c | |
| parent | 6b805af42cba72e190d94ffa6d1dd7e44d9dfb61 (diff) | |
- gameserver podporuje clientov z IPv4-UDP IPv4-TCP IPv6-UDP IPv6-TCP
- client sa moze pripojit na gameserver, ktory podporuje IPv4-UDP IPv4-TCP IPv6-UDP IPv6-TCP ( nie, nie je to
samozrejmost :) )
- client ma parametre --tcp , --udp ( ak sa neuvedie, implicitne sa berie --udp )
- btw. ladit, ladit, ladit
git-svn-id: http://opensvn.csie.org/tuxanci_ng@187 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/net/tcp.c')
| -rwxr-xr-x | src/net/tcp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/tcp.c b/src/net/tcp.c index 2df17b9..1c3f6c0 100755 --- a/src/net/tcp.c +++ b/src/net/tcp.c @@ -260,6 +260,7 @@ int disableNagle(sock_tcp_t *p) (char *) &flag, /* the cast is historical cruft */ sizeof(int)); /* length of option value */ +#if 0 if( result < 0 ) { printf("disabled nagle error\n"); @@ -268,6 +269,7 @@ int disableNagle(sock_tcp_t *p) { printf("disabled nagle OK\n"); } +#endif return result; } |