8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 04:03: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:10:57 +00:00
parent b1a74121d1
commit d756a02f89
2 changed files with 2 additions and 2 deletions

View File

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

View File

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