cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: WSAEventSelect and curl_multi_socket_action

From: <tom_at_ashok-art.com>
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.

Tom

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-10-23

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET