cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: AF_UNSPEC and bind()

From: John F. Kelly <johnfkelly_at_earthlink.net>
Date: 09 Sep 2005 10:29:32 -0600

On Fri, 2005-09-09 at 09:32, Gisle Vanem wrote:

>
> and wonder if not this should be done for all. I'm not sure why AF_UNSPEC
> magically works on Linux (that's where this was tested, no?) and what it
> really means.

The OS probably selects a rational value from what it knows about the
socket.

>
> w/o the above change, I got "Address family not supported" under Winsock
> (no surprice).

Hmm....it worked for me on Linux 2.4, 2.6, Solaris 8 and Windows XP
(MinGW). Where are you seeing the problem?

>
> --gv
Received on 2005-09-09