From owner-freebsd-questions Mon Sep 2 17:21:54 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C70E137B401 for ; Mon, 2 Sep 2002 17:21:48 -0700 (PDT) Received: from idk.com (idk.com [65.104.9.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A64943E75 for ; Mon, 2 Sep 2002 17:21:48 -0700 (PDT) (envelope-from tony@idk.com) Received: (from tony@localhost) by idk.com (8.9.3/8.9.3) id RAA19794; Mon, 2 Sep 2002 17:21:50 -0700 (PDT) From: Tony Message-Id: <200209030021.RAA19794@idk.com> Subject: Need help: gethostbyaddr To: freebsd-questions@freebsd.org Date: Mon, 2 Sep 2002 17:21:50 -0700 (PDT) X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I just cannot seem to understand the function gethostbyaddr, more what and how would one lookup an ip number. All I want to do it write a program to look up one ip number to it's host name. I am very confused with this function. Example? btw: The is not a class assignment as that was 30 years ago.. just something I do not understand. Thanks tony@idk.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message