local address and hostname on Unix

Philippe Marschall philippe.marschall at gmail.com
Tue Oct 4 11:35:59 UTC 2005


Hi

I thought to get the network address and name of the local machine I do:

NetNameResolver localHostName
NetNameResolver localAddressString

This works on Windows but on Unix it returns just the loopback
addresses 'localhost' and '127.0.01'. So what is the way to do it on
Unix?

Cheers
Philippe



More information about the Squeak-dev mailing list