🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.lenguajes.java
Article #18069

host

#18069
From: Luis Clausell
Date: Thu, 28 Sep 2000 00:00
19 lines
1108 bytes
Yep!

Con este c�digo ...

-----
String host = java.lang.String.valueOf(InetAddress.getLocalHost());
System.out.println(host);
-----

... obtengo iron.KAOS.org/192.168.0.1 �c�mo podr�a obtener el nombre s�lo?

Un saludo,

--
     ##	                                                             ##  
   # ## #    cactus@itemcs.com            2:346/3.86@fidonet.org   # ## #
   ######     ICQ UIN 1523792               Usuario Linux 94909    ######
     ##	                                      Debian GNU/Linux       ##  
    _##_                                                            _##_ 
Technical Details
Message-ID: <slrn8t7lm6.44e.news@iron.KAOS.org>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: 1116f3,ddbc4c57421bb9c3,start
X-Google-Attributes: gid1116f3,public
From: news@iron.KAOS.org (Luis Clausell)
Subject: host
Date: 2000/09/28
Message-ID: <slrn8t7lm6.44e.news@iron.KAOS.org>
X-Deja-AN: 675325107
Content-Transfer-Encoding: 8bit
Organization: Telefonica Transmision de Datos
Content-Type: text/plain; charset=iso-8859-1
User-Agent: slrn/0.9.6.2 (Linux)
Mime-Version: 1.0
Newsgroups: es.comp.lenguajes.java