//m_socket1 handler: void CSomeSession::Handler_SendToClient( const boost::system::error_code& error) { if( error) { std::cout << error.message() << std::endl; delete this; } } //m_socket2 handler: void CSomeSession::Handler_SendToServer( const boost::system::error_code& error) { if( error) { std::cout << error.message() << std::endl; delete this; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)