In article <[EMAIL PROTECTED]> (at Mon, 8 Jan 2001 09:26:09 +1100), [EMAIL PROTECTED] (Craig Small) says:
> > because getipnodebyname() is obsolete function. It's not supported in glibc > > 2.2 > > and afaik XNET specs treat it as obsolete, too. > : > So that means the "right" way of doing hostname->IP lookups is with > getaddrinfo() with all the lack of functionality as mentioned? Use getaddrinfo(). getipnodebyname() has been deprecated for lack of "scope". New flag for getaddrinfo(), AI_ADDRCONFIG, will be defined in the successor of RFC2553. See draft-ietf-ipngwg-rfc2553bis-01.txt. Note: USAGI glibc's have this functionality. -- Hideaki YOSHIFUJI @ USAGI Project <[EMAIL PROTECTED]> PGP5i FP: F731 6599 5EB2 BBA7 1515 1323 1806 A96F 5700 6B25

