Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

It is possible to not use the default DNS configuration when resolving a specific host such as specifying a particular DNS server, different number of request retry and so on. When calling DNSc_GetHost() it is possible to specify a request configuration in the parameter p_cfg. 

The following structure contains the possible request configuration:

typedef  struct  DNSc_req_cfg {
    DNSc_ADDR_OBJ  *ServerAddrPtr;
    NET_PORT_NBR    ServerPort;
    CPU_INT16U      TaskDly_ms;
    CPU_INT16U      ReqTimeout_ms;
    CPU_INT08U      ReqRetry;
} DNSc_REQ_CFG;

 

 

  • No labels