From owner-freebsd-hackers Wed Sep 13 20:11:27 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from uranium.dashmail.net (uranium.dashmail.net [216.36.26.29]) by hub.freebsd.org (Postfix) with ESMTP id 921E537B424 for ; Wed, 13 Sep 2000 20:11:25 -0700 (PDT) Received: from Ptacek (rc1s7p8.dashmail.net [216.36.33.80]) by uranium.dashmail.net (8.10.1/8.10.1) with SMTP id e8E3HKW87526 for ; Thu, 14 Sep 2000 03:17:21 GMT Reply-To: From: "Chris Ptacek" To: Subject: Getting all the IP address for a machine from code... Date: Wed, 13 Sep 2000 20:12:47 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am looking for a way to get all the IP addresses that are configured a machine. I need to do this in c source code, and without using DNS services (ie: gethostname/gethostbyname won't work). I am hoping there are some system calls I can use to get this information. Thanks in advance for any help. - Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message