|Subject:||Re: TCPServer - MaxConnection and ListenQueue|
|Posted by:||Remy Lebeau \(Indy Team\) (email@example.com)|
|Date:||Fri, 20 Nov 2009|
"Alan T" <alan_NO_SPAM_plt…@yahoo.com.au> wrote in message =
> Can anyone tell me if there is relationship between MaxConnection
> and ListenQueue?
There is not.
The ListenQueue property specifies the maximum number of client connect =
requests that can be queued by the OS at one time before TIdTCPServer =
accepts them. If the queue is full when a new client connect request =
arrives, the client will get a WSAECONNREFUSED (10061) error (the same =
error it gets if the server socket is not listening at all).
The MaxConnections property specifies the maximum number of accepted =
client connections that can actually be running at one time.
Remy Lebeau (Indy Team)
TCPServer - MaxConnection and ListenQueue posted by Alan T on Fri, 20 Nov 2009