If you try to call "socket" with IPv6 parameters, and IPv6 is not compiled into the kernel, then glibc2.1 returns EINVAL. Shouldn't it return ENOSYS or EAFNOSUPPORT? For sample code, look at rshd in heimdal-servers, and try to run it with the -i (not run from inetd) parameter. Use strace, so you can see the error. Also, is getaddrinfo a glibc function? I cannot find any information on this function :-(. -- Brian May <bam@debian.org>