projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25156de
)
set nodelay on other side
author
bdemsky
<bdemsky>
Tue, 3 Mar 2009 07:20:56 +0000
(07:20 +0000)
committer
bdemsky
<bdemsky>
Tue, 3 Mar 2009 07:20:56 +0000
(07:20 +0000)
Robust/src/Runtime/socket.c
patch
|
blob
|
history
diff --git
a/Robust/src/Runtime/socket.c
b/Robust/src/Runtime/socket.c
index 36ab172c7d5c97f5396e9dce71fa18c331eb6888..e9c3abef3a03955531d7f380d33a5c7ccc19df20 100644
(file)
--- a/
Robust/src/Runtime/socket.c
+++ b/
Robust/src/Runtime/socket.c
@@
-40,7
+40,10
@@
int CALL24(___Socket______nativeConnect____I__AR_B_I, int ___fd___, int ___port_
#endif
#endif
-
+ {
+ int flag = 1;
+ setsockopt(___fd___, IPPROTO_TCP, TCP_NODELAY, (char *) &flag, sizeof(flag));
+ }
if (rc<0) goto error;
#ifdef TASK