Path: utzoo!bnr-vpa!bnr-fos!bmers58!davem From: davem@bmers58.UUCP (Dave Mielke) Newsgroups: comp.unix.wizards Subject: Re: Determining one's own IP address. Message-ID: <604@bmers58.UUCP> Date: 11 Dec 89 12:57:22 GMT References: <601@bmers58.UUCP> <4429@ur-cc.UUCP> Reply-To: davem@bmers58.UUCP (Dave Mielke) Organization: Bell-Northern Research, Ottawa, Canada Lines: 7 In article <4429@ur-cc.UUCP> leadley@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.