#pragma once

#include "Socket.h"
#include "ehs/Str.h"

namespace ehs
{
	class EHS_LIB_IO BaseDNS
	{
	public:
		static Str_8 Resolve(IP type, 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);
	};
}