mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 08:03:04 +01:00
Fixed bug CORE-3351 : Windows client could put 10054 error messages into firebird.log at connection time
This commit is contained in:
parent
3f20247bbd
commit
0489857fc9
@ -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);
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user