You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code does its work, but it literally requires to specify the network prefix twice. First in the address string and then as arg in getNetworkMask(). Would it be possible to add getNetworkMask() method to IPAddress or inherit prefix length from IPAddress in getNetwork() ?
The text was updated successfully, but these errors were encountered:
Suppose, we have an adress string and ones need to get IPv4 netmask address in octet format.
This code does its work, but it literally requires to specify the network prefix twice. First in the address string and then as arg in
getNetworkMask()
. Would it be possible to addgetNetworkMask()
method toIPAddress
or inherit prefix length from IPAddress ingetNetwork()
?The text was updated successfully, but these errors were encountered: