Retrieve's the current Sealevel I/O module's IP address, netmask, and gateway as strings.
- Parameters
-
[in] | handle | Valid handle returned by SME_Initialize(). |
[out] | ipAddress | |
[out] | netmask | |
[out] | gateway | |
- Return values
-
The currently selected Sealevel I/O module's IP address, netmask, and gateway will be placed in the parameter buffers in standard IPv4 address form (i.e., "x.x.x.x").
- Note
- If any parameter is NULL, that parameter is ignored. For instance, to retrieve only the current module's netmask, supply a valid string pointer for the second parameter, and NULL for the first and third parameters.
- Warning
- The supplied string buffers must each be allocated with at least 16 bytes of data before calling GetIPAddress().
Referenced by CCEthernet::find_devices().