[erlang-questions] inet:ifget("eth0", [broadaddr])

Harsh J <>
Tue Mar 1 21:14:58 CET 2011


Hello,

On Wed, Mar 2, 2011 at 1:16 AM, Bob Cowdery <> wrote:
> I'm trying to get hold of the broadcast address on a Windows box but
> inet:ifget() just returns einval. Anyone know of a way to do this.

While unrelated to the Erlang question here, I would like you to be
aware of the ongoing change in the naming scheme for network
interfaces. See
https://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming
for an example, which would invalidate all scripts/code written for
finding an "ethX".

-- 
Harsh J
www.harshj.com


More information about the erlang-questions mailing list