On Tue, Jul 22, 2003 at 09:23:31PM +0200, Egbert Eich wrote: > > You can use that scheme in *BSD, too, if you use setsockopt() like this: > > > > int off = 0; > > [...] > > if (setsockopt(listen_socket, IPPROTO_IPV6, IPV6_V6ONLY, &off, > > sizeof (off)) < 0) { > > /* error handling */ > > [...] > > } > > [...] > > I was looking for the IPV6_V6ONLY on Linux, but these options don't > seem to exist there.
I wasn't suggesting to use it on Linux. My suggestion was to revert to using a single socket on all platforms and use the above code to enable accepting IPv4 connections on *BSD. Kind regards -- Matthias Scheler http://scheler.de/~matthias/ _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel