You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
499 B
C++
23 lines
499 B
C++
#ifndef WEBCC_UTILITY_H_
|
|
#define WEBCC_UTILITY_H_
|
|
|
|
#include <iosfwd>
|
|
#include <string>
|
|
|
|
#include "boost/asio/ip/tcp.hpp"
|
|
|
|
namespace webcc {
|
|
|
|
void PrintEndpoint(std::ostream& ostream,
|
|
const boost::asio::ip::tcp::endpoint& endpoint);
|
|
|
|
void PrintEndpoints(
|
|
std::ostream& ostream,
|
|
const boost::asio::ip::tcp::resolver::results_type& endpoints);
|
|
|
|
std::string EndpointToString(const boost::asio::ip::tcp::endpoint& endpoint);
|
|
|
|
} // namespace webcc
|
|
|
|
#endif // WEBCC_UTILITY_H_
|