Jump to main content

##

# TCPIP_DNS_RESULT Enumeration

## C

    typedef enum {
    TCPIP_DNS_RES_OK = 0,
    TCPIP_DNS_RES_PENDING,
    TCPIP_DNS_RES_NAME_IS_IPADDRESS,
    TCPIP_DNS_RES_NO_NAME_ENTRY = -1,
    TCPIP_DNS_RES_NO_IP_ENTRY = -2,
    TCPIP_DNS_RES_NO_IX_ENTRY = -3,
    TCPIP_DNS_RES_EMPTY_IX_ENTRY = -4,
    TCPIP_DNS_RES_SERVER_TMO = -5,
    TCPIP_DNS_RES_NO_SERVICE = -6,
    TCPIP_DNS_RES_NO_INTERFACE = -7,
    TCPIP_DNS_RES_CACHE_FULL = -8,
    TCPIP_DNS_RES_INVALID_HOSTNAME = -9,
    TCPIP_DNS_RES_SOCKET_ERROR = -10
    } TCPIP_DNS_RESULT;

## Description

Enumeration: TCPIP_DNS_RESULT.

DNS Client operations results.

## Members

Members | Description
--- | ---
TCPIP_DNS_RES_OK = 0 | Operation succeeded.
TCPIP_DNS_RES_PENDING | Operation is ongoing.
TCPIP_DNS_RES_NAME_IS_IPADDRESS | DNS request is a IPv4 or IPv6 address.
TCPIP_DNS_RES_NO_NAME_ENTRY = -1 | No such name exists.
TCPIP_DNS_RES_NO_IP_ENTRY = -2 | No such IP type exists.
TCPIP_DNS_RES_NO_IX_ENTRY = -3 | No such index exists.
TCPIP_DNS_RES_EMPTY_IX_ENTRY = -4 | No entry associated to this index exists.
TCPIP_DNS_RES_SERVER_TMO = -5 | DNS server response tmo.
TCPIP_DNS_RES_NO_SERVICE = -6 | DNS service not implemented or uninitialized.
TCPIP_DNS_RES_NO_INTERFACE = -7 | No interface for DNS traffic available.
TCPIP_DNS_RES_CACHE_FULL = -8 | The cache is full and no entry could be added.
TCPIP_DNS_RES_INVALID_HOSTNAME = -9 | Invalid hostname.
TCPIP_DNS_RES_SOCKET_ERROR = -10 | DNS UDP socket error: not ready, TX error, etc.

## Remarks

None.