[Vm-dev] Finding ip address for eth0?
John M McIntosh
johnmci at smalltalkconsulting.com
Wed Aug 26 19:43:07 UTC 2009
On 26-Aug-09, at 11:50 AM, Andreas Raab wrote:
> NetNameResolver>>localHostAddress was supposed to return this but it
> returns consistently 127.0.0.1 which is fine from a purity point of
> view but utterly useless from any practical perspective ;-)
PS lucky you because the best guess code here gives
NetNameResolver>>localHostAddress
fe80::21c:42ff:fe00:8%en4(Otter-2),0(0)
expecting an IPV4 address? Tsk...
--
=
=
=
========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com> Twitter:
squeaker68882
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
=
=
=
========================================================================
More information about the Vm-dev
mailing list