[Nice] patch for nonblocking socket on windows

Madaro Livio livio.madaro at telecomitalia.it
Thu Feb 23 09:11:51 PST 2012


Hi Youness,
I submit two patches for review. Here is the first one.

This patch uses ioctlsocket to set socket to nonblocking mode on Windows.
The patch check also for WSAENOTCONN error result for TCP socket. I get this error when the socket function connect(...) has been called but the socket is not yet connected.

Regards,
Livio



Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione, Grazie.

This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised. If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail, Thanks.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-set-nonblocking-mode-for-socket-on-Windows.patch
Type: application/octet-stream
Size: 3257 bytes
Desc: 0001-set-nonblocking-mode-for-socket-on-Windows.patch
URL: <http://lists.freedesktop.org/archives/nice/attachments/20120223/9aba12ed/attachment-0001.obj>


More information about the nice mailing list