On a linux machine to get the local IP address.

Burke Cox

I've been all over this problem today. It seems to vary across platforms -- and has real trouble working with DHCP. Apparently, the NetworkInterface class solves this for JDK1.4, but I am unable to find an acceptable workaround for JDK1.3. Currently, I am looking at passing the IP via a shell script at execution time

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact