Skip to content
Snippets Groups Projects
Commit cfc740b0 authored by Benny Baumann's avatar Benny Baumann
Browse files

chg: Increase TCP connection backlog for listening

parent b59731da
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ auto_fd create_tcp_server_socket(const socketaddr& socket_identifier) {
make_socket_nonblocking(socket_fd);
if (listen(socket_fd.get(), 5) == -1) {
if (listen(socket_fd.get(), 128) == -1) {
throw netio_exception("Failed to enable listening mode for raw socket");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment