cURL / Mailing Lists / curl-users / Single Mail


Re: debian sid, ipv6 and configure

From: Daniel Stenberg <>
Date: Wed, 30 Jan 2002 09:29:29 +0100 (MET)

On Wed, 30 Jan 2002, Richard Prescott wrote:

> Well, maybe the test "(socket(AF_INET6, SOCK_STREAM, 0) < 0)" might have to
> be done dynamically !!

It *is* made dynamicly. That tiny test program is compiled, linked and run.
If the funtion socket(AF_INET6, SOCK_STREAM, 0) returns negative, the machine
is considered not IPv6-enabled.

As Troy told us, this might be because of a lack of a NETWORKING_IPV6="yes"
line in the /etc/sysconfig/network file.

(Not that I have a line like that on my IPv6-enabled host...)

    Daniel Stenberg -- curl groks URLs --
Received on 2002-01-30