this should be pretty straightforward: you can determine hostname with 
InetAddress.getLocalHost(). after that, it's just code.

you probably won't get an address of "localhost" back, though. localhost 
usually (always?) maps to 127.0.0.1...

Douglas E Wegscheid
Lead Technical Analyst, Whirlpool Corporation
(269)-923-5278

"A wrong note played hesitatingly is a wrong note. A wrong note played 
with conviction is interpretation."

Reply via email to