Subject: Re: sockaddr_snprintf
To: None <firstname.lastname@example.org>
From: Jun-ichiro itojun Hagino <email@example.com>
Date: 11/16/2004 13:10:28
> 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)