Subject: inet_ntop() prototype question
To: None <netbsd-users@netbsd.org>
From: Christoph Kaegi <kgc@zhwin.ch>
List: netbsd-users
Date: 04/07/2003 09:40:09
I'm not sure, if this is the appropriate forum, but
why is the last parameter of inet_ntop of type socklen_t?
Stevens has it as size_t, which would make more sense for
me, as it should specify the length of the buffer in which
inet_ntop will put an address in presentation format.

Also, the manpage doesn't even tell, what this argument
is for.

Can anybody enlighten me?

Thanks 
Chris

-- 
----------------------------------------------------------------------
Christoph Kaegi                                           kgc@zhwin.ch
----------------------------------------------------------------------