#include <tcp_echo_server.hpp>
Definition at line 74 of file tcp_echo_server.hpp.
◆ tcp_echo_server()
tcp_echo_server::tcp_echo_server |
( |
asio::io_service & | service, |
|
|
short | port ) |
|
inline |
Definition at line 75 of file tcp_echo_server.hpp.
77 ,
m_acceptor(service, asio::ip::tcp::endpoint(asio::ip::tcp::v6(), port))
78 {
80 }
asio::ip::tcp::acceptor m_acceptor
asio::io_service & m_service
◆ handle_accept()
◆ start_accept()
void tcp_echo_server::start_accept |
( |
| ) |
|
|
inline |
Definition at line 82 of file tcp_echo_server.hpp.
82 {
86 }
void handle_accept(tcp_echo_session::ptr new_session, const asio::error_code &ec)
websocketpp::lib::shared_ptr< tcp_echo_session > ptr
◆ m_acceptor
asio::ip::tcp::acceptor tcp_echo_server::m_acceptor |
◆ m_service
asio::io_service& tcp_echo_server::m_service |
The documentation for this struct was generated from the following file: