SysSockGetSubnetMask (FUN)ΒΆ
FUNCTION SysSockGetSubnetMask : RTS_IEC_RESULT
Get subnetmask of a specified IP address adapter.
- InOut:
Scope
Name
Type
Comment
Return
SysSockGetSubnetMask
RTS_IEC_RESULT
Runtime system error code (see CmpErrors.library).
Input
szIPAddress
REFERENCE TO STRING
IP address of the communication partner as string
szSubnetMask
REFERENCE TO STRING
Subnet mask as string
diMaxSugnetMask
DINT
Maximum length of the subnet mask string