shon
Posts: 42
Nickname: shon
Registered: Apr, 2003
|
|
Re: Network question
|
Posted: Sep 24, 2003 12:15 AM
|
|
this code make it returns three ips... one is local which is 127.0.0.1 and 192.168.0.2 , and the internet IP:ex : 202.188.0.2
But the ips actually i want ... is only 192.168.0.2 .... how to make the system return this ip ..? if i have more than one networkcard install on my pc.. THen how to check which one is connected to my LAN ?
For ex: 192.168.0.1, 192.168.0.2 is both my lan cards.... but the first one is ussed as connect to the boadband modem , the second one is conencted to my LAN ...
how to get 192.168.0.2 using java code? Please Help ... THAnks
|
|