Lex Spoon lex at
Mon Mar 20 10:13:02 UTC 2000

Bob Arning <arning at> wrote:
> On Sun, 19 Mar 2000 14:06:52 "Lex Spoon" <lex at> wrote:
> >I hear that on some setups, localHostAddress will return or
> >, even though the host is connected to the network.  IMHO, this
> >is either a problem in the host's setup, or a problem in the VM for that
> >platform, but I have no idea which.  :|
> As I vaguely understand it, the problem _can_ be in the Linux hosts file which lists an entry for localhost. That name is looked up by DNS and can return if not found (e.g. the name is missing, wrong or the machine has been moved somewhere (a different domain?) that cannot resolve the name). Linux gurus, feel free to correct/complete this picture.

On Unix, you get back nil if the host does not exist:

	NetNameResolver addressForName: 'aoeuaoeaoeu' -->  nil

This seems better than


More information about the Squeak-dev mailing list