Gets current IP settings.
- Parameters
-
Address | The current IP address. |
Mask | The subnet mask. |
Gateway | The default gateway address. |
Dns1 | The first DNS server address. |
Dns2 | The second DNS server address. |
If the method returns WCL_E_WIFI_INTERFACE_IP_NOT_CONFIGURED
then the interface uses system default settings.
- Returns
- If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.