Subject: Re: sockaddr_snprintf
To: None <>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-userlevel
Date: 11/17/2004 00:53:42
>> So, what's going to happen with scope IDs when NI_WITHSCOPEID goes
>> away?
> always attached like fe80::1%fxp0, unless sin6_scope_id is 0.

So if you really want getnameinfo() to not go making gratuitous
syscalls on you - you want it to be _just_ a purely user-level "format
this data" call - you have to check the address family for IPv6, and
then check the scope ID, and if it's nonzero, format it with a zero
scope ID and attach the scope ID - as a number - yourself?

Ugh.  What is one _supposed_ to use for debugging output?  Or is there

/~\ 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