• Post Reply Bookmark Topic Watch Topic
  • New Topic

NetworkInterface getNetworkInterfaces() method lists 40+ interfaces when I have just two.

 
Eddie Cross
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is the code that I'm running.



I have just 2 of them. I don't know where is the code getting those interfaces from. What do I do?
Thanks in advance.
 
Henry Wong
author
Sheriff
Posts: 22619
111
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps it would help if you tell us what the 40 interfaces are? Can you quote the printout?

Additionally, can you run "ifconfig" (or "ipconfig" for windows) to show us the full listing?

Henry
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!