Article View: comp.lang.java.corba
Article #12Re: How can a CORBA client find its own hostname
From: Tony Ketteringham
Date: Fri, 19 Mar 1999 00:00
Date: Fri, 19 Mar 1999 00:00
23 lines
1221 bytes
1221 bytes
Sander van Geloven wrote: > > Hi, > > Does anyone know how a CORBA client can find its own hostname. I am > looking for a short example. > > Thanks, > > Sander Using just java, you can also Try: java.net.InetAddress.getLocalHost().getHostName() Cheers, tonyk -- Tony Ketteringham Astracon Pty Ltd Phone: +61 7 3259 2248 Level 2, John Oxley Centre Fax: +61 7 3259 2259 339 Coronation Dr, Milton, Email: t.ketteringham@astracon.com.au Australia 4064
Technical Details
Message-ID:
<36F1C43E.369AE9AE@astracon.com.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36EC1AE9.885D9344@dds.nl>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 108bbb,a6e219f75eba7547 X-Google-Attributes: gid108bbb,public X-Google-Thread: 10b07f,a6e219f75eba7547 X-Google-Attributes: gid10b07f,public From: Tony Ketteringham <t.ketteringham@astracon.com.au> Subject: Re: How can a CORBA client find its own hostname Date: 1999/03/19 Message-ID: <36F1C43E.369AE9AE@astracon.com.au> X-Deja-AN: 456348997 Content-Transfer-Encoding: 7bit References: <36EC1AE9.885D9344@dds.nl> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Astracon (Australia) Pty Ltd Mime-Version: 1.0 Newsgroups: comp.lang.java.corba,borland.public.jbuilder.corba-rmi