cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: socket error with NTLM auth proxy and multi interface

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 5 Oct 2011 13:24:54 +0200 (CEST)

On Tue, 4 Oct 2011, Pingzhong Li wrote:

> mres = curl_multi_fdset(m_curlMultiHandle, &fdread, &fdwrite, &fdexcep, &maxfd);
>
> nRet = (select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout) );
> if(nRet == SOCKET_ERROR)
> {
>
> //log the socket last error ::WSAGetLastError() );
> //it could be 10038 or 10022.

Is this perhaps because maxfd is -1 when it is returned from
curl_multi_fdset() ?

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