Date: Thu, 22 May 2008 16:14:46 +0000 (UTC) From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> To: John Timony <fabonacci@yahoo.com> Cc: freebsd-hackers@freebsd.org Subject: Re: How can I translate IP to hostname in C Message-ID: <20080522161214.Y47338@maildrop.int.zabbadoz.net> In-Reply-To: <839372.78392.qm@web46311.mail.sp1.yahoo.com> References: <839372.78392.qm@web46311.mail.sp1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 22 May 2008, John Timony wrote: Hi, > I am writing a c program in FreeBSD,and I can not > translate a ip to hostname > ,i wonder if there is a function to take this job... You mean like gethostbyaddr()? See also http://www.unixguide.net/network/socketfaq/2.24.shtml for further inspiration on this but slightly different topic. -- Bjoern A. Zeeb Stop bit received. Insert coin for new game.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080522161214.Y47338>