1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-05-02 14:21:38 +00:00

SCP: Updated to current.

This commit is contained in:
Richard Cornwell
2023-11-30 20:56:36 -05:00
parent b646a69375
commit 4fb17c84b4
5 changed files with 16 additions and 11 deletions

View File

@@ -1088,7 +1088,7 @@ if (!(opt_flags & SIM_SOCK_OPT_BLOCKING)) {
if (sta == SOCKET_ERROR) /* fcntl error? */
return sim_err_sock (newsock, "setnonblock");
}
sta = listen (newsock, 1); /* listen on socket */
sta = listen (newsock, 64); /* listen on socket */
if (sta == SOCKET_ERROR) /* listen error? */
return sim_err_sock (newsock, "listen");
return newsock; /* got it! */