Skip to content

Commit 4b171dc

Browse files
committed
Attempt to fix build with boost 1.87.
1 parent 91fd91a commit 4b171dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/TcpServer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ bool TcpServer::start(PortType port)
2929
}
3030

3131

32-
m_acceptor.listen(boost::asio::socket_base::max_connections, ec);
32+
m_acceptor.listen(boost::asio::socket_base::max_listen_connections, ec);
3333
if (ec) {
3434
std::cerr << "ERROR: Failed to put acceptor in the listen state with error: " << ec.message() << std::endl;
3535
m_acceptor.close(ec);

0 commit comments

Comments
 (0)