On Wed, 29 Dec 2010, amit paliwal wrote:
To test basic stuff I am running Client and server on the same machine and
trying to communicate between them on loopback. Server is listening on
127.0.0.1 and port 4433 as it is on loopback.
Then don't bind the localport to 4433 as well.
?????
Your first mail in this thread said you used these options:
curl_easy_setopt( ctx , CURLOPT_INTERFACE, "192.168.160.222" ) ;
curl_easy_setopt( ctx , CURLOPT_LOCALPORT, 4433 );
... that are used to bind your socket on the local side, to a specific address
and port.
Of course, that can be perfectly fine but it seemed suspicious to me.
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html