|
From: | Riccardo Mottola |
Subject: | NSHost name |
Date: | Fri, 18 Apr 2014 16:37:03 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0 SeaMonkey/2.25 |
Hi, Given this situation: # hostname hobbit # hostname -a localhostI'd expect [[NSHost currentHost] name] to return the name, not the alias... what do you think? That is I'd expect "hobbit" and not "localhost". This is on a small prgram on Linux, on the Letux 400.
However I will check because perhaps this is the behaviour I am also seeing on GWorkspace on my OpenBSD laptop where my machine gets identified as localhost.
Riccardo
[Prev in Thread] | Current Thread | [Next in Thread] |