Subject: Re: inet_ntop() prototype question
To: Christoph Kaegi <firstname.lastname@example.org>
From: Quentin Garnier <email@example.com>
Date: 04/07/2003 09:47:05
Le Mon, 7 Apr 2003 09:40:09 +0200
Christoph Kaegi a ecrit :
> 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.
This is correct.
Quentin Garnier - firstname.lastname@example.org
"Feels like I'm fiddling while Rome is burning down.
Should I lay my fiddle down and take a rifle from the ground ?"
Leigh Nash/Sixpence None The Richer, Paralyzed, Divine Discontents, 2002.