[erlang-questions] Finding IP addresses in a PC

Bob Ippolito bob@REDACTED
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...

-bob

On 9/18/06, Surindar Sivanesan <surindar.shanthi@REDACTED> 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: 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,
> S.Surindar.
>
>
>
> On 9/18/06, Evgeniy Khramtsov <hev@REDACTED> 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
> > erlang-questions@REDACTED
> > http://www.erlang.org/mailman/listinfo/erlang-questions
> >
>
>
>
> --
> with regards,
> S.Surindar
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
>
>




More information about the erlang-questions mailing list