Thu Apr 19 09:31:22 CEST 2001
You can try the following undocomented (and unsupported, but it is not
very likely that they will change much in the future :-) functions in
19> inet:ifget("lo0", [addr, broadaddr, dstaddr, mtu, netmask, flags,
20> inet:ifget("hme0", [addr, broadaddr, dstaddr, mtu, netmask, flags,
"Use the Source, Luke. Let it guide Your hands."
/ Raimo Niskanen, Ericsson UAB, Erlang/OTP.
Magnus Ahltorp wrote:
> How can I get a list of the IP addresses on the machine the node is
> running on? There are two drivers named udp_inet and tcp_inet that
> seem to return that when INET_REQ_IFGET is requested.
> Is this the correct way? In that case, how do I call this driver? If
> not, how do I get the list?
More information about the erlang-questions