From owner-freebsd-hackers@FreeBSD.ORG Thu May 22 15:54:18 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF4B01065680 for ; Thu, 22 May 2008 15:54:18 +0000 (UTC) (envelope-from fabonacci@yahoo.com) Received: from n70.bullet.mail.sp1.yahoo.com (n70.bullet.mail.sp1.yahoo.com [98.136.44.38]) by mx1.freebsd.org (Postfix) with SMTP id 8A9FF8FC23 for ; Thu, 22 May 2008 15:54:18 +0000 (UTC) (envelope-from fabonacci@yahoo.com) Received: from [216.252.122.217] by n70.bullet.mail.sp1.yahoo.com with NNFMP; 22 May 2008 15:54:18 -0000 Received: from [69.147.65.173] by t2.bullet.sp1.yahoo.com with NNFMP; 22 May 2008 15:54:18 -0000 Received: from [127.0.0.1] by omp508.mail.sp1.yahoo.com with NNFMP; 22 May 2008 15:54:18 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 29478.81153.bm@omp508.mail.sp1.yahoo.com Received: (qmail 78762 invoked by uid 60001); 22 May 2008 15:54:17 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=tF8A3iEOb4Op/9leiI46BSJ8xBKerM1nCsAO7fJAl/2l/+pKlFnkcMYbV9KIpGlxqCHrbuhshUtQH/zV9/f1yUpS1p/g+oW9Dsk3XM20wlHsYGxCCYTtG6Pkn/65lkcFJWJUcQwGmOJPCJQCsslJ+1UOrFQpHd0AVsgMPT8r8ik=; X-YMail-OSG: 677lTlIVM1l_rj74j6oVgjQdtVXhHKUIqgrW9pn_HI8HScxCESxlA89CrJn4yUIxzq3qpcKxC5PS Received: from [219.128.147.242] by web46311.mail.sp1.yahoo.com via HTTP; Thu, 22 May 2008 08:54:17 PDT Date: Thu, 22 May 2008 08:54:17 -0700 (PDT) From: John Timony To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <839372.78392.qm@web46311.mail.sp1.yahoo.com> X-Mailman-Approved-At: Thu, 22 May 2008 16:06:44 +0000 Subject: How can I translate IP to hostname in C X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 15:54:18 -0000 Hi,guys 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... s.o.s -Fabonacc