Reputation: 548
Is there an option to identify the network interface type in java. The reason for asking this question is some set of Sun hardware boxes have a special kind of interface (DSCP interface) used for internal communication. We have an application developed for Solaris platform and I want to print only non-internal common interfaces.
To know more about DSCP
http://blogs.oracle.com/olympus/entry/dscp
Upvotes: 1
Views: 1673
Reputation: 44240
I know this isn't much of an answer, but here's a tutorial that details Programmatic Access to Network Parameters. That being said, it may also be useful to consult the NetworkInterface API. Within the tutorial, there's a few working examples that will shed more light on the subject.
Upvotes: 3