8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 04:43:03 +01:00

Fixed bug CORE-3351 : Windows client could put 10054 error messages into firebird.log at connection time

This commit is contained in:
hvlad 2011-02-15 10:15:49 +00:00
parent 3f20247bbd
commit 0489857fc9
2 changed files with 2 additions and 2 deletions

View File

@ -935,7 +935,7 @@ rem_port* INET_connect(const TEXT* name,
return NULL;
}
n = listen((SOCKET) port->port_handle, 5);
n = listen((SOCKET) port->port_handle, SOMAXCONN);
if (n == -1) {
inet_error(port, "listen", isc_net_connect_listen_err, INET_ERRNO);

View File

@ -37,7 +37,7 @@
#ifdef WIN_NT
#include <sys/types.h>
#include <winsock.h>
#include <winsock2.h>
typedef char * caddr_t;
#else // WIN_NT
#include <sys/types.h>