cURL / Mailing Lists / curl-library / Single Mail

curl-library

Implementing CURLOPT_INTERFACE on Windows

From: Mike Cherepov <mcherepov_at_cisco.com>
Date: Thu, 7 Aug 2003 12:03:46 -0400

Trying to bind to a particular local IP with CURLOPT_INTERFACE
on a Win2k box I get CURLE_HTTP_PORT_FAILED upon connect.
No mistake there: bindlocal() works only for
        #if !defined(WIN32)||defined(__CYGWIN32__).

I'd like to do it. Any clues on the extent and nature of Windows'
disability in specifying a local port? Any comments on effort to
implement this, workarounds, and such? Thanks!

        --Mike Cherepov

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Received on 2003-08-07