This week's book giveaway is in the Android forum.
We're giving away four copies of Android Programming: The Big Nerd Ranch Guide and have Bill Phillips & Chris Stewart on-line!
See this thread for details.
Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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: 23212
124
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!