On Tue, Jul 22, 2003 at 08:03:35PM +0200, Egbert Eich wrote:
> The current CVS code produces the error:
>
> _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
> _XSERVTransMakeAllCOTSServerListeners: server already running
>
> Fatal server error:
> Cannot establish any listening sockets - Make sure an X server isn't already running
>
> bind() returns an EADDRINUSE error when binding to the second IP
> protocol (in CVS it is IPv6).
>
> When I switch the order of initialization around and skip the IPv4
> protocol if IPv6 initialization was successful, everything works:
> I can connect thru IPv6 and IPv4.
This sounds like a bug in Linux's socket implementation. It should allow
an IPv4 and an IPv6 socket to bind to the same port number. This is a
common programming pratice for *BSD or Solaris.
Kind regards
--
Matthias Scheler http://scheler.de/~matthias/
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel