[erlang-questions] Finding IP addresses in a PC
Tue Sep 19 00:18:26 CEST 2006
That's not an endian issue, that's a backwards string. How about
showing us what expression you actually evaluated? inet:getiflist()
returns interface names, and inet:getif() returns address tuples;
neither of them could've possibly produced that output...
On 9/18/06, Surindar Sivanesan <> wrote:
> Thanks for your timely help.
> I'm able to get the IP addresses using inet:getiflist() but those IP address
> is reversed.
> Ex: 192.168.1.60 is displayed as 60.100.861.291.
> Is there any option to get the IP as such.
> This is just for info
> Thanks once again
> Best regards,
> On 9/18/06, Evgeniy Khramtsov <> wrote:
> > Surindar Sivanesan пишет:
> > > Dear all,
> > > If my PC has several IP addresses, is it possible to find the IP
> > > addresses
> > > in that PC?
> > > If so, please help me in getting those IP addresses.
> > > Thanks in advance.
> > inet:getif().
> > inet:getiflist().
> > _______________________________________________
> > erlang-questions mailing list
> > http://www.erlang.org/mailman/listinfo/erlang-questions
> with regards,
> erlang-questions mailing list
More information about the erlang-questions