[erlang-questions] Finding IP addresses in a PC

Tim Rath <>
Tue Sep 19 00:44:44 CEST 2006

Someone else noticed this behavior on a windows machine during a similar thread discussion a while back:


>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:
> Hi
> Thanks for your timely help.
> I'm able to get the IP addresses using inet:getiflist() but those IP address
> is reversed.
> Ex: 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,
> S.Surindar.

More information about the erlang-questions mailing list