2023-05-19 15:35:01 +00:00
|
|
|
#pragma once
|
2024-01-23 17:04:50 +00:00
|
|
|
|
2023-05-19 14:23:56 +00:00
|
|
|
#include <Poco/Net/SocketAddress.h>
|
2024-01-23 17:04:50 +00:00
|
|
|
#include <Common/Logger.h>
|
2023-05-19 14:23:56 +00:00
|
|
|
|
|
|
|
namespace Poco { class Logger; }
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
2023-05-19 15:35:01 +00:00
|
|
|
|
2023-05-19 14:23:56 +00:00
|
|
|
Poco::Net::SocketAddress makeSocketAddress(const std::string & host, uint16_t port, Poco::Logger * log);
|
2023-05-19 15:35:01 +00:00
|
|
|
|
2024-01-23 17:04:50 +00:00
|
|
|
Poco::Net::SocketAddress makeSocketAddress(const std::string & host, uint16_t port, LoggerPtr log);
|
|
|
|
|
2023-05-19 14:23:56 +00:00
|
|
|
}
|