555 cout <<
"Start accept[" <<
fBoardId <<
"] " <<
acc0.local_endpoint().port() <<
"..." << flush;
558 cout << new_connection.get() <<
" ";
561 acc0.async_accept(*new_connection,
565 ba::placeholders::error));
575 cout <<
"start-done." << endl;
void handle_accept(tcp_connection::shared_ptr new_connection, const boost::system::error_code &error)
boost::shared_ptr< tcp_connection > shared_ptr
static shared_ptr create(ba::io_service &io_service, int boardid)