Struct SYN_DnsResolver¶
DNS resolver context.
#include <syn_dns.h>
Public Attributes¶
| Type | Name |
|---|---|
| SYN_SockAddr * | addr_out |
| uint8_t | buf |
| const SYN_SockAddr * | dns_server |
| const char * | hostname |
| size_t | query_len |
| SYN_SockAddr | server_addr |
| SYN_Socket | sock |
| uint32_t | start_ms |
| SYN_Status | status |
| uint32_t | timeout_ms |
| uint16_t | txid |
Public Attributes Documentation¶
variable addr_out¶
Resolved output address
variable buf¶
Message buffer
variable dns_server¶
DNS server (e.g. 8.8.8.8)
variable hostname¶
Hostname to resolve
variable query_len¶
Sent query length
variable server_addr¶
Server address
variable sock¶
UDP socket
variable start_ms¶
Start timestamp
variable status¶
Final status of query
variable timeout_ms¶
Resolution timeout
variable txid¶
Generated transaction ID
The documentation for this class was generated from the following file src/syntropic/net/syn_dns.h