delorie.com/archives/browse.cgi | search |
On Wed, Apr 12, 2000 at 09:34:53PM +0200, stefan wrote: >On Tue, 11 Apr 2000 tau AT entropia DOT com wrote: > >> I appreciate if non-blocking socket is supposed to work and if so, how >> to use it. > >> /* winsock function to make it non-blocking */ >> unsigned long a[1]; >> int e = ioctlsocket(s, FIONBIO, a); >> if (e == -1) { >> printf("ioctlsocket failed\n"); >> exit(1); >> } > >Try setting a[1] to 1 !!! > >Maybe this will help. Can I point out that this all has nothing to do with cygwin? You'd probably be better off finding an appropriate winsock mailing list or newsgroup. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |