version 1.26 | | version 1.27 |
---|
| | |
/* | | /* |
* static char *rcsid_init_c = | | * static char *rcsid_init_c = |
* "$Id: init.c,v 1.26 2002/07/15 04:57:13 mwedel Exp $"; | | * "$Id: init.c,v 1.27 2002/08/26 07:14:11 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
if(ioctlsocket(ns->fd, FIONBIO , &temp) == -1) | | if(ioctlsocket(ns->fd, FIONBIO , &temp) == -1) |
LOG(llevError,"InitConnection: Error on ioctlsocket.\n"); | | LOG(llevError,"InitConnection: Error on ioctlsocket.\n"); |
#else | | #else |
if (fcntl(ns->fd, F_SETFL, O_NDELAY)==-1) { | | if (fcntl(ns->fd, F_SETFL, O_NONBLOCK)==-1) { |
LOG(llevError,"InitConnection: Error on fcntl.\n"); | | LOG(llevError,"InitConnection: Error on fcntl.\n"); |
} | | } |
#endif /* end win32 */ | | #endif /* end win32 */ |