There should be a way of getting the network mask...
Posted: Sun Aug 21, 2011 12:49 pm
There should be a way of (natively) returning the mask that is available for an IP address, eg:
From these two values we can calculate broadcast and this is really usefull in autodetecting a server on a network:
Code: Select all
ip=NextIPAddress()
mask=IPMask()
Code: Select all
broadcast=(mask!$ffffffff)|ip