Documented and improved DNS::Resolve. Readme has been adjusted to changes.
This commit is contained in:
@@ -9,6 +9,9 @@ namespace ehs
|
||||
class DNS
|
||||
{
|
||||
public:
|
||||
static Str_8 Resolve(const AddrType addrType, const Str_8& hostName);
|
||||
/// Resolves a hostname to an ip address.
|
||||
/// @param [in] hostname The given hostname to resolve.
|
||||
/// @returns The resulting ip address.
|
||||
static Str_8 Resolve(const Str_8& hostname);
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user