#include "lwip/ip_addr.h"#include <stdint.h>
Include dependency graph for lwip_dns_resolver.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| bool | resolveHostnameBlocking (const char *hostname, ip_addr_t *result, uint32_t timeout_ms=5000) |
| Resolve hostname to IP address using lwIP DNS (blocking). | |
| bool resolveHostnameBlocking | ( | const char * | hostname, |
| ip_addr_t * | result, | ||
| uint32_t | timeout_ms = 5000 |
||
| ) |
| hostname | The hostname to resolve. |
| result | Pointer to store resolved IP address. |
| timeout_ms | Max wait time in milliseconds. |
Resolve hostname to IP address using lwIP DNS (blocking).
| hostname | The host to resolve. |
| result | Pointer to an ip_addr_t to store the result. |
| timeout_ms | Max time to wait for resolution. |
Definition at line 29 of file lwip_dns_resolver.cpp.
References dns_callback(), dns_done, resolved_ip, and TRACE.
Referenced by Tcp::connect().
Here is the call graph for this function:
Here is the caller graph for this function: