Re: Getting all the IP address for a machine from code...

2000-09-16 Thread Robert Watson
On Sat, 16 Sep 2000, David Malone wrote: > > It is possible to get interface lists on earlier versions (and I hope > > still current versions) using the ioctl interfaces described in Stevens. > > See also ifconfig.c source from various versions of FreeBSD :-). > > I think Garret suggested that

Re: Getting all the IP address for a machine from code...

2000-09-16 Thread David Malone
> It is possible to get interface lists on earlier versions (and I hope > still current versions) using the ioctl interfaces described in Stevens. > See also ifconfig.c source from various versions of FreeBSD :-). I think Garret suggested that the ioctl method was deprecated? I wrote some code j

Re: Getting all the IP address for a machine from code...

2000-09-15 Thread Brian Somers
> 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 f

Re: Getting all the IP address for a machine from code...

2000-09-15 Thread Robert Watson
On Thu, 14 Sep 2000, David Malone wrote: > On Wed, Sep 13, 2000 at 08:12:47PM -0700, Chris Ptacek wrote: > > 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

Re: Getting all the IP address for a machine from code...

2000-09-14 Thread Wes Peters
Chris Ptacek wrote: > > 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 informatio

Re: Getting all the IP address for a machine from code...

2000-09-14 Thread David Malone
On Wed, Sep 13, 2000 at 08:12:47PM -0700, Chris Ptacek wrote: > 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

Getting all the IP address for a machine from code...

2000-09-13 Thread Chris Ptacek
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 h