SysSockGetSubnetMask (FUN)
FUNCTION SysSockGetSubnetMask : RTS_IEC_RESULT
Get subnetmask of a specified IP address adapter.
- InOut:
Scope
Name
Type
Comment
Return
SysSockGetSubnetMaskRTS_IEC_RESULTRuntime system error code (see CmpErrors.library).
Input
szIPAddressREFERENCE TO STRING
IP address of the communication partner as string
szSubnetMaskREFERENCE TO STRING
Subnet mask as string
diMaxSugnetMaskDINTMaximum length of the subnet mask string