Functions | |
| bool | ltrx_host_lookup (const char *hostname, uint32_t timeout_ms, uint8_t *zeroBasedInterface, struct ltrx_ip_address *ipaddr) |
| Host lookup. More... | |
The Domain Name System (DNS) client resolves DNS names, returning an IP address.
| bool ltrx_host_lookup | ( | const char * | hostname, |
| uint32_t | timeout_ms, | ||
| uint8_t * | zeroBasedInterface, | ||
| struct ltrx_ip_address * | ipaddr | ||
| ) |
Host lookup.
| true | Success. |
| false | Failed. |
| [in] | hostname | Host name to look up. |
| [in] | timeout_ms | Timeout in milliseconds. |
| [out] | zeroBasedInterface | Interface index, if successful. |
| [out] | ipaddr | The IP address looked up, if successful. |