Added new DNS::Resolve static method and organized it per OS.
This commit is contained in:
18
src/io/socket/BaseDNS.cpp
Normal file
18
src/io/socket/BaseDNS.cpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#include "ehs/io/socket/BaseDNS.h"
|
||||
|
||||
#include "ehs/Log.h"
|
||||
|
||||
namespace ehs
|
||||
{
|
||||
Str_8 BaseDNS::Resolve(const AddrType type, const Str_8 &hostname)
|
||||
{
|
||||
EHS_LOG_INT(LogType::ERR, 0, "Unsupported Operating System.");
|
||||
return {};
|
||||
}
|
||||
|
||||
Str_8 BaseDNS::Resolve(const Str_8 &hostname)
|
||||
{
|
||||
EHS_LOG_INT(LogType::ERR, 0, "Unsupported Operating System.");
|
||||
return {};
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user