On Wed, 29 Dec 2010, amit paliwal wrote:
Reply: I am using it on linux (ubuntu). As mentioned in the documentation CURLOPT_URL is mandatory step. So, I did something like curl_easy_setopt( ctx , CURLOPT_URL, "http://localhost:4433" ) ; .
So you're asking for a connect to your localhost to the same port you asked the socket to be bound to?
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. -- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
