Synchronous DNS Resolution. More...
#include <Socket.h>
Static Public Member Functions | |
| static Result | resolveDNS (StringSpan host, Span< char > &ipAddress) |
| Resolve an host string to an ip address (blocking until DNS response arrives) | |
Synchronous DNS Resolution.
Example:
|
staticnodiscard |
Resolve an host string to an ip address (blocking until DNS response arrives)
| [in] | host | The ASCII encoded host string (example.com) |
| [out] | ipAddress | Host ip address (ASCII encoded and null-terminated) |
Example: