Subject: Re: sockaddr_snprintf
To: None <email@example.com>
From: Jun-ichiro itojun Hagino <firstname.lastname@example.org>
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)