Synchronous DNS Resolution. More...
#include <SocketDescriptor.h>
Static Public Member Functions | |
static Result | resolveDNS (StringView host, String &ipAddress) |
Resolve an host string to an ip address (blocking until DNS response arrives) More... | |
Synchronous DNS Resolution.
Example:
|
static |
Resolve an host string to an ip address (blocking until DNS response arrives)
[in] | host | The host string (example.com) |
[out] | ipAddress | The ip address of the given host string |
Example: