john skaller wrote:
Hi, I am wondering if any devs here would be willing to help me figure out how to properly close an O_NONBLOCK socket.
shutdown(socket, SHUT_RD);Once the socket is readable again, the outbuf should be flushed and you can close it.
Markus ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
