How to get the network interface type

只谈情不闲聊 提交于 2019-12-11 04:10:01

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/6112489/how-to-get-the-network-interface-type

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!