Subject: Re: sockaddr_snprintf
To: None <christos@zoulas.com>
From: Jun-ichiro itojun Hagino <itojun@itojun.org>
List: tech-userlevel
Date: 11/16/2004 13:10:28
> Hi,
> 
> I was missing a sockaddr pretty printer, and it was some amount of work
> on each program to write one... So I came up with this. Is this useful?
> Any suggestions on the interface? I was thinking of putting it in libutil.

	please use getnameinfo(3) to get string representation of
	AF_INET and AF_INET6 sockaddr.  (for AF_INET6, it is a hard requirement)

itojun