The data type IPADDR only occurs in the following conversion functions:
These conversion functions interpret variables of the type DWORD as strings in IPADDR format. This format consists of four octal numbers (with or without leading zeros) separated by periods in opposite order, i.e. the highest octal number in the IPADDR number will be the lowest octal number in the string.
Value |
Conversion function |
Result |
---|---|---|
16#01020304 |
IPADDR_TO_STRING |
004.003.002.001 |
IPADDR_TO_STRING_NO _LEADING_ZEROS |
4.3.2.1 |
If you want an interpretation of the DWORD in direct order, use the conversion functions that invoke the data type ETLANADDR.