The Artima Developer Community
Sponsored Link

Java Answers Forum
java net question

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
qforever

Posts: 1
Nickname: forever
Registered: Oct, 2002

java net question Posted: Oct 25, 2002 2:41 AM
Reply to this message Reply
Advertisement
hello anybody:

i have two questiones about network,and my english is so poor,thanks for you help

1, how can i get gateway ip from java?
2, InetAddress class error:while i start application,i get localAddress was 192.168.0.1,and after i change machine ip to 192.168.0.2,InetAddress return also 192.168.0.1(application no stop),is InetAddress class error?
btw: my code is InetAddress.getLocalHost().getHostAddress();

anybody can help me?

Topic: Java Swings Previous Topic   Next Topic Topic: java.security.AccessControlException

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use