Changeset 27959 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Apr 2, 2010 3:46:08 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 59663
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/tcp.cpp
r27787 r27959 984 984 RTR3DECL(int) RTTcpFlush(RTSOCKET Sock) 985 985 { 986 987 986 int fFlag = 1; 988 987 int rc = rtSocketSetOpt(Sock, IPPROTO_TCP, TCP_NODELAY, &fFlag, sizeof(fFlag)); … … 996 995 997 996 997 RTR3DECL(int) RTTcpSetSendCoalescing(RTSOCKET Sock, bool fEnable) 998 { 999 int fFlag = fEnable ? 0 : 1; 1000 return rtSocketSetOpt(Sock, IPPROTO_TCP, TCP_NODELAY, &fFlag, sizeof(fFlag)); 1001 } 1002 1003 998 1004 RTR3DECL(int) RTTcpSelectOne(RTSOCKET Sock, RTMSINTERVAL cMillies) 999 1005 {
Note:
See TracChangeset
for help on using the changeset viewer.