boost::asio one connectio-per-thread
24 May
2012
24 May
'12
8:25 a.m.
Hello, is this a code appropriate? boost::asio::io_service io_service; tcp::acceptor a(io_service, tcp::endpoint(tcp::v4(),3080)); for (;;) { socket_ptr sock(new tcp::socket(io_service)); a.accept(*sock); emv_clientthread_ptr cli(new axf::server::server_socket(sock)); boost::thread t(boost::bind(&axf::server::server_socket::start, cli)); } appreciate any help. Christer
4553
Age (days ago)
4553
Last active (days ago)
0 comments
1 participants
participants (1)
-
Christer Borgqvist