On Fri, 2003-10-31 at 00:51, Dan Kegel wrote:
getifaddrs() is indeed the right beast, though who knows, maybe you'll have to filter out 127.0.0.1. Hitch is, Linux doesn't provide it.
I think it does as of the latest glibc, at least it's marked as "done" on their TODO list.
thanks -mike