This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: IP ADDRESS OF MACHINE
- From: Robert Lopez <robert dot lopez at abq dot sc dot philips dot com>
- To: snodx at hotmail dot com, gcc-help at gcc dot gnu dot org
- Date: Tue, 26 Feb 2002 12:08:28 -0700 (MST)
- Subject: Re: IP ADDRESS OF MACHINE
- Reply-to: Robert Lopez <robert dot lopez at abq dot sc dot philips dot com>
> So I wish to obtain my standalone computer's IP Address through a
> C/C++ program. What function should I use for this?
The GNU C Library Reference Manual might be useful to you. See the
sections on Host Addresses and Host Names in the Sockets section.
Robert.Lopez@Philips.com