curl-library
Couldn't Connect Error - Address already in use
Date: Wed, 28 Apr 2010 17:13:38 +0530 (IST)
I am using libCurl version 7.19.6 on Windows Server 2003.
I am frquently getting Couldn't connect error even though the server is up. LibCurl debug logs show the error "Address already in use".
I am using easy interface and new handle is used for every new request.Only when i get redirect response i am reusing the same handle to connect to the redirected host.
This error("Address already in use") occurs if an application attempts to bind a socket to an IP address/port that has already been used for an existing socket, or a socket that was not closed properly, or one that is still in the process of closing.
I am trying to guess whats going wrong here ? Sometimes i get this error, sometimes i don't!
If required i can post detailed curl debug logs.
Thanks.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-04-28