#include <tcp_echo_server.hpp>
Definition at line 44 of file tcp_echo_server.hpp.
◆ ptr
◆ tcp_echo_session()
tcp_echo_session::tcp_echo_session |
( |
asio::io_service & | service | ) |
|
|
inline |
◆ handle_read()
void tcp_echo_session::handle_read |
( |
const asio::error_code & | ec, |
|
|
size_t | transferred ) |
|
inline |
Definition at line 55 of file tcp_echo_server.hpp.
55 {
56 if (!ec) {
60 }
61 }
void handle_write(const asio::error_code &ec)
◆ handle_write()
void tcp_echo_session::handle_write |
( |
const asio::error_code & | ec | ) |
|
|
inline |
Definition at line 63 of file tcp_echo_server.hpp.
63 {
64 if (!ec) {
67 }
68 }
void handle_read(const asio::error_code &ec, size_t transferred)
◆ start()
void tcp_echo_session::start |
( |
| ) |
|
|
inline |
◆ m_buffer
char tcp_echo_session::m_buffer[1024] |
◆ m_socket
asio::ip::tcp::socket tcp_echo_session::m_socket |
The documentation for this struct was generated from the following file: