Changeset 6253 for trunk/src/wsock32/asyncapi.cpp
- Timestamp:
- Jul 8, 2001, 5:44:27 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wsock32/asyncapi.cpp
r6205 r6253 1 /* $Id: asyncapi.cpp,v 1.1 4 2001-07-07 18:49:13achimha Exp $ */1 /* $Id: asyncapi.cpp,v 1.15 2001-07-08 15:44:27 achimha Exp $ */ 2 2 3 3 /* … … 671 671 return SOCKET_ERROR; 672 672 } 673 #if 0 674 // AH: null sempahore is ok when clearing request 675 else 676 if ((mode == WSA_SELECT_HEVENT) && !(WSAEVENT)notifyHandle) 677 { 678 dprintf(("invalid event semaphore handle")); 679 WSASetLastError(WSAEINVAL); // invalid parameter 680 return SOCKET_ERROR; 681 } 682 #endif 683 684 //Set socket to non-blocking mode 685 ret = ioctl(s, FIONBIO, (char *) &nonblock, sizeof(nonblock)); 673 674 // Set socket to non-blocking mode 675 ret = ioctl(s, FIONBIO, (char *)&nonblock, sizeof(nonblock)); 686 676 if(ret == SOCKET_ERROR) { 687 677 dprintf(("setting socket to non blocking mode failed"));
Note:
See TracChangeset
for help on using the changeset viewer.