curl-library
RE: CURLOPT_LOCALPORT option broken ?!
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 20 Feb 2009 22:39:33 +0100 (CET)
Date: Fri, 20 Feb 2009 22:39:33 +0100 (CET)
On Fri, 20 Feb 2009, Senthil Raja Velu wrote:
> I am not clear about the patch "curl_interface_and_port_patch_2nd_try.diff".
> Do I need to use both the interface and port all the time and should not use
> any one of those alone.
> In that case, if at all I have to use only the port, could I set the
> interface as "0.0.0.0" as a work-around for ADDR_ANY. Please clarify.
The patch should not alter any requirements or API, it should just make what
previously didn't work (CURLOPT_INTERFACE + CURLOPT_LOCALPORT) function
properly and as you expected.
Thus the code you showed that failed before should run now with this patch
applied.
-- / daniel.haxx.seReceived on 2009-02-20