在Python中,使用IPy模块可以执行以下操作:
>>> ip.iptype() 'PRIVATE'
有没有一个库或简单的方法在Java中做同等的工作?
java networking
java ×1
networking ×1