Hi!

Am 08.03.2004 um 04:16 schrieb Marc Aurele La France:
On Sun, 7 Mar 2004, Peter Breitenlohner wrote:
1. xdm produced an error message
chooser socket creation failed
and there was just a useless parent process but no child process(es) and no
Xserver was started. I think the lines 69ff in xc/programs/xdm/socket.c
#if defined(IPv6) && defined(AF_INET6)
chooserFd = socket (AF_INET6, SOCK_STREAM, 0);
#else
chooserFd = socket (AF_INET, SOCK_STREAM, 0);
#endif
ought to be
#if defined(IPv6) && defined(AF_INET6)
chooserFd = socket (AF_INET6, SOCK_STREAM, 0);
if (chooserFd == -1)
#endif
chooserFd = socket (AF_INET, SOCK_STREAM, 0);
although I haven't tested this.

IMHO it should be done differently. XDM should create an IPv4 socket as well as an IPv6 one to allow IPv4 connects as well as IPv6 connects. So it should use two sockets, one for IPv4 and the other one for IPv6, like it is done in chooser.c.


73, Mario
--
Mario Klebsch                                           [EMAIL PROTECTED]
PGP-Key available at http://www.klebsch.de/public.key
Fingerprint DSS: EE7C DBCC D9C8 5DC1 D4DB  1483 30CE 9FB2 A047 9CE0
 Diffie-Hellman: D447 4ED6 8A10 2C65 C5E5  8B98 9464 53FF 9382 F518

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to