/
DNSc_GetServerByAddr
DNSc_GetServerByAddr
Get DNS server in an address object that is configured to be use by default.
Files
dns-c.h/dns-c.c
Prototype
void DNSc_GetServerByAddr (DNSc_ADDR_OBJ *p_addr, DNSc_ERR *p_err);
Arguments
p_addr | Pointer to structure that will receive the IP address of the DNS server. |
p_err | Pointer to variable that will receive the return error code from this function. |
Returned Values
None.
Required Configuration
None.
Notes / Warnings
None.
Example Usage
DNSc_ADDR_OBJ addr; DNSc_ERR err; DNSc_GetServerByAddr(&addr, &err);
Related content
DNSc_GetServerByStr
DNSc_GetServerByStr
More like this
DNSc_CfgServerByAddr
DNSc_CfgServerByAddr
More like this
DNSc_CfgServerByStr
DNSc_CfgServerByStr
More like this
DNSc_GetHost
DNSc_GetHost
More like this
DNSc_CacheClrAll
DNSc_CacheClrAll
More like this
Advanced request configuration
Advanced request configuration
More like this