FACT++  1.0
void tcp_server::start_accept ( tcp_connection::shared_ptr  dest,
tcp::acceptor &  acc 
)
inlineprivate

Definition at line 541 of file fad.cc.

References tcp_connection::handle_accept().

542  {
543  boost::shared_ptr<ba::ip::tcp::socket> connection =
544  boost::shared_ptr<ba::ip::tcp::socket>(new ba::ip::tcp::socket(acc.get_io_service()));
545 
546  acc.async_accept(*connection,
547  boost::bind(&tcp_connection::handle_accept,
548  dest, connection,
549  acc.local_endpoint().port(),
550  ba::placeholders::error));
551  }
void handle_accept(boost::shared_ptr< ba::ip::tcp::socket > socket, int port, const boost::system::error_code &)
Definition: fad.cc:486

+ Here is the call graph for this function: