[oclug] [OT] C: get local ip?

James Leigh james.leigh at ottawa.com
Tue Mar 19 12:18:18 EST 2002


How can I get the default interface IP in C?  I want a string of the
form "192.168.1.1" for the default interface of the local host.

thanks,
james






More information about the OCLUG mailing list