Determining one's own IP address.

Dave Mielke davem at bmers58.UUCP
Mon Dec 11 23:57:22 AEST 1989


In article <4429 at ur-cc.UUCP> leadley at uhura.cc.rochester.edu (Scott Leadley) writes:
>	Assuming (a lot of things, but primarily that) you wish to do this from
>the shell command line and that you know the network interface name:
 
I would like to be able to determine my local IP address without
involving a hosts file or yp lookup, i.e. from memory, from within a c
program.



More information about the Comp.unix.wizards mailing list