Changeset 4c202e0 in network-game for common/Common.cpp
- Timestamp:
- Dec 25, 2012, 6:59:58 PM (12 years ago)
- Branches:
- master
- Children:
- 3b8adee
- Parents:
- edfd1d0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/Common.cpp
redfd1d0 r4c202e0 3 3 void set_nonblock(int sock) 4 4 { 5 #if def WIN325 #if defined WINDOWS 6 6 unsigned long mode = 1; 7 7 ioctlsocket(sock, FIONBIO, &mode); 8 #el se8 #elif defined LINUX 9 9 int flags; 10 10 flags = fcntl(sock, F_GETFL,0);
Note:
See TracChangeset
for help on using the changeset viewer.