We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91fd91a commit 4b171dcCopy full SHA for 4b171dc
lib/src/TcpServer.cpp
@@ -29,7 +29,7 @@ bool TcpServer::start(PortType port)
29
}
30
31
32
- m_acceptor.listen(boost::asio::socket_base::max_connections, ec);
+ m_acceptor.listen(boost::asio::socket_base::max_listen_connections, ec);
33
if (ec) {
34
std::cerr << "ERROR: Failed to put acceptor in the listen state with error: " << ec.message() << std::endl;
35
m_acceptor.close(ec);
0 commit comments