Date: Wed, 13 Sep 2000 20:12:47 -0700 From: "Chris Ptacek" <ptacek@dashmail.net> To: <freebsd-hackers@FreeBSD.ORG> Subject: Getting all the IP address for a machine from code... Message-ID: <NEBBKLEDAJJJDAPGJFBIGENICNAA.ptacek@dashmail.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NEBBKLEDAJJJDAPGJFBIGENICNAA.ptacek>