Back to product page

LocalNetmask property


Holds netmask of local interface.

Type

Unsigned integer.

Syntax

  • C++
unsigned int LocalNetmask;

Remarks

LocalNetmask property holds subnet mask of the adapter. Typically it will be something like 255.255.255.0 . Both local devP2P peer and remote devP2P peer must have same netmask if you want them to exchange packets correctly. You should also make sure IP address for both sides is set to be inside same subnet. Changing this property value does not actually change adapter's netmask, except for devP2P. If you want to set IP/Netmask you should use windows tools, or right-click on the adapter and selecting Properties for it.

Platforms

Windows
Mac OSX
Linux
BSD