DNS client implementation for the Ethernet library. More...
#include "EthernetUdp.h"#include "utility/stm32_eth.h"#include "Dns.h"#include <string.h>#include "Arduino.h"
Macros | |
| #define | SUCCESS 1 |
| #define | TIMED_OUT -1 |
| #define | INVALID_SERVER -2 |
| #define | TRUNCATED -3 |
| #define | INVALID_RESPONSE -4 |
DNS client implementation for the Ethernet library.
begin() passes the DNS server to LwIP, inet_aton() parses dotted-decimal addresses, and getHostByName() returns numeric addresses directly or resolves host names through stm32_dns_gethostbyname().
| #define INVALID_RESPONSE -4 |
| #define INVALID_SERVER -2 |
| #define SUCCESS 1 |
| #define TIMED_OUT -1 |
| #define TRUNCATED -3 |