Increase listen backlog count to 50
This commit is contained in:
parent
f0eb88af14
commit
6ccbbdcb5e
@ -120,7 +120,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
// Listen on port
|
||||
if(listen(sockfd, 10) != 0){
|
||||
if(listen(sockfd, 50) != 0){
|
||||
fprintf(stderr, "%s: cannot listen - %s\n",
|
||||
exec_name, strerror(errno)
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user