#include <tcp_echo_server.hpp>
Public Member Functions | |
tcp_echo_server (asio::io_service &service, short port) | |
void | start_accept () |
void | handle_accept (tcp_echo_session::ptr new_session, const asio::error_code &ec) |
Public Attributes | |
asio::io_service & | m_service |
asio::ip::tcp::acceptor | m_acceptor |
Definition at line 74 of file tcp_echo_server.hpp.
|
inline |
Definition at line 75 of file tcp_echo_server.hpp.
|
inline |
Definition at line 82 of file tcp_echo_server.hpp.
References handle_accept(), and tcp_echo_session::tcp_echo_session().
|
inline |
Definition at line 88 of file tcp_echo_server.hpp.
Referenced by start_accept().
asio::io_service& tcp_echo_server::m_service |
Definition at line 95 of file tcp_echo_server.hpp.
asio::ip::tcp::acceptor tcp_echo_server::m_acceptor |
Definition at line 96 of file tcp_echo_server.hpp.