View Single Post
  #5 (permalink)  
Old 04-22-2008, 03:19 AM
rico16135 rico16135 is offline
Member
 
Join Date: Apr 2008
Posts: 28
rico16135 is on a distinguished road
NetworkInterface ni = new NetworkInterface();

you can't instantiate a NetworkInterface that way.
check here:
What Is a Network Interface? (The Java™ Tutorials > Custom Networking > Programmatic Access to Network Parameters)
Reply With Quote