Documented and improved DNS::Resolve. Readme has been adjusted to changes.

This commit is contained in:
2024-02-01 17:24:38 -08:00
parent beaa7cb034
commit e48a3fd750
4 changed files with 14 additions and 37 deletions

View File

@@ -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);
};
}