Didier Verna <verna(a)inf.enst.fr> writes:
Glynn Clements writes:
Glynn> There isn't a system address; addresses are associated with individual
Glynn> network interfaces. `(interface-address IFNAME)' would be more
Glynn> meaningful.
Or a list of these maybe? At first I thought we could use the call to
gethostbyname already done in init_system_name, but it doesn't give you
information on the interface names, right ?
Maybe we should just use the output of ifconfig ? (that's what
ipconfig does in net-utils, I think).
There is no ifconfig on Windoze systems. There is (at least on NT)
an ipconfig, but its output is certainly different from what ifconfig
gives...
--
Cheers,
-Dima.