Files
CommonLib/CommonLib/src/Common/Lib/Util/NetworkUtil.hpp
2025-03-13 18:30:39 -07:00

36 lines
1.1 KiB
C++

#ifndef NETWORK_UTIL_H
#define NETWORK_UTIL_H
#include <string>
#include <vector>
namespace Util
{
namespace Network
{
//>---------------------------------------------------------------------
// Function: IsIpAddress
//
// Purpose:
//----------------------------------------------------------------------
// Arguments:
//----------------------------------------------------------------------
// Return Value:
//<---------------------------------------------------------------------
bool IsIpAddress(const std::string& ipAddress);
//>---------------------------------------------------------------------
// Function: convertHostnameToIp
//
// Purpose:
//----------------------------------------------------------------------
// Arguments:
//----------------------------------------------------------------------
// Return Value:
//<---------------------------------------------------------------------
std::string ConvertHostnameToIp(std::string hostname);
}
}
#endif