FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
tcp_server::tcp_server
(
ba::io_service &
ioservice
,
int
port
)
inline
Definition at line
505
of file
ftm.cc
.
505
:
506
tcp::acceptor(ioservice, tcp::endpoint(tcp::v4(), port))
507
508
{
509
// We could start listening for more than one connection
510
// here, but since there is only one handler executed each time
511
// it would not make sense. Before one handle_accept is not
512
// finished no new handle_accept will be called.
513
// Workround: Start a new thread in handle_accept
514
start_accept
();
515
}
tcp_server::start_accept
void start_accept()
Definition:
fad.cc:553
tcp_server
Generated on Sun Sep 18 2016 20:51:03 for FACT++ by
1.8.11