IP ADDRESS OF MACHINE

Robert Lopez robert.lopez@abq.sc.philips.com
Tue Feb 26 18:29:00 GMT 2002


> 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



More information about the Gcc-help mailing list