diff options
-rw-r--r-- | tcp.c | 2 | ||||
-rw-r--r-- | tls.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -349,7 +349,7 @@ void *tcplistener(void *arg) { struct sockaddr_storage from; socklen_t fromlen = sizeof(from); - listen(*sp, 0); + listen(*sp, 128); for (;;) { s = accept(*sp, (struct sockaddr *)&from, &fromlen); @@ -460,7 +460,7 @@ void *tlslistener(void *arg) { struct sockaddr_storage from; socklen_t fromlen = sizeof(from); - listen(*sp, 0); + listen(*sp, 128); for (;;) { s = accept(*sp, (struct sockaddr *)&from, &fromlen); |