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

Re: getaddrinfo and IPv6/IPv4 addresses



>nscd, yes. nsswitch.conf is completely unchanged from debian defaults. So
>what I have to do in my application is to use PF_UNSPEC and convert the
>IPv4 address myself?

Yes.  That way you will be able to talk to IPv4-only hosts even when your 
kernel does not support IPv6.  There are macros in the C library to help you 
with the conversion.

p.



Reply to: