#include <nitroWiFi/soc.h>
int SOC_GetResolver( SOCInAddr
* dns1, SOCInAddr
* dns2 );
dns1 |
Primary DNS server address. |
dns2 |
Secondary DNS server address. |
0 | Successful. |
SOC_ENETRESET |
Socket library is not initialized. (Not connected.) |
Note: Additional errors may be generated and returned in future library releases. Treat all negative return values as general errors.
This function gets the primary and secondary DNS server addresses used by SOC_GetHostByAddr()
.
12/12/2005 Modified Description.
9/13/2005 Initial version.