pion
5.0.6
|
simple TCP server that just sends "Hello there!" to each connection More...
Public Member Functions | |
HelloServer (const unsigned int tcp_port) | |
virtual void | handle_connection (tcp::connection_ptr &tcp_conn) |
simple TCP server that just sends "Hello there!" to each connection
Definition at line 22 of file helloserver.cpp.
virtual void HelloServer::handle_connection | ( | tcp::connection_ptr & | tcp_conn | ) | [inline, virtual] |
handles a new TCP connection; derived classes SHOULD override this since the default behavior does nothing
tcp_conn | the new TCP connection to handle |
Reimplemented from pion::tcp::server.
Definition at line 26 of file helloserver.cpp.
References pion::tcp::connection::finish().