On Wed, Dec 29, 2010 at 5:17 PM, Daniel Stenberg <[email protected]> wrote:
> 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? Yes the server is listening on 4433, is there somethign wrong with it, prefiously i achieved it, but right now somethign is missing. > > > 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 >
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
