标签: java android networking mask subnet
是否有另一种方法可以找到subnet mask而不是:
subnet mask
String subnetMask="/"+networkInterface.getInterfaceAddresses().get(0).getNetworkPrefixLength();
谢谢!