Subject: Re: sockaddr_snprintf
To: None <>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-userlevel
Date: 11/19/2004 19:19:10
>> Fine, I guess I'll have to use getnameinfo()...
> This will not lead to gratuitous or unexpected name lookups using the
> name service switch, possibly even going to the network?

Not if you use NI_NUMERICHOST (and/or NI_NUMERICSERV).  If you use IPv6
and NI_WITHSCOPEID, or if that has been made the default, you may still
get syscalls to map the scope ID into an interface name; itojun's
description didn't include anything like NI_NUMERICSCOPEID....

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B