IP ADDRESS OF MACHINE

Stephano Mariani sk.mail@btinternet.com
Tue Feb 26 05:46:00 GMT 2002


See `man gethostbyname`

> -----Original Message-----
> From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org]
On Behalf Of snodx@hotmail.com
> Sent: Tuesday, 26 February 2002 11 16
> To: gcc-help@gcc.gnu.org
> Subject: Re: IP ADDRESS OF MACHINE
> 
> I am working on a standalone computer. This is why I said that I dont
> know whether there is a NetWork card installed and configured. I just
set
> the IP Address using the /bin/netconf utility
> 
> So I wish to obtain my standalone computer's IP Address through a
> C/C++ program. What function should I use for this?
> 
> SNODX



More information about the Gcc-help mailing list