Changeset 274 in Main for trunk/Server/server.c
- Timestamp:
- Oct 8, 2024, 7:55:19 PM (5 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/server.c
r272 r274 159 159 } 160 160 #ifndef __PPU__ 161 #ifdef __minix 162 if(setsockopt(sock, 0, TCP_NODELAY, (void*)&yes, sizeof(yes)) < 0) { 163 #else 161 164 if(setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, (void*)&yes, sizeof(yes)) < 0) { 165 #endif 162 166 close_socket(sock); 163 167 cm_log("Server", "setsockopt failure (nodelay)");
Note:
See TracChangeset
for help on using the changeset viewer.