cURL / Mailing Lists / curl-library / Single Mail


Re: WSAEventSelect and curl_multi_socket_action

From: <>
Date: Fri, 23 Oct 2009 19:30:33 +0100

> Before dispatching to curl_multi_socket_action, you can try a 0-byte,
> blocking send() on the socket to see if it is writable. If it returns
> WSAEWOULDBLOCK, don't bother. If it passes, carry on with telling cURL
> that
> it is writable.

Interesting - I'll give that a go. My "workaround" involved restructuring a
large amount of code, so it'll be a while before I get round to going back
and trying this.
Many thanks for your help.


List admin:
Received on 2009-10-23