[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

bug in glibc2.1 IPv6?



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>


Reply to: