0

Is there another way to find the subnet mask than:

String subnetMask="/"+networkInterface.getInterfaceAddresses().get(0).getNetworkPrefixLength();

Thanks!!!

DeltaCap019
  • 6,532
  • 3
  • 48
  • 70
user2843420
  • 13
  • 1
  • 1
  • 4

0 Answers0