Topic Path: Symbol Reference > Constants > IdListenQueueDefault Constant
ContentsIndexHome
PreviousUpNext
IdListenQueueDefault Constant

Default value for the ListenQueue property in TIdTCPServer.

File
IdListenQueueDefault = 15;

IdListenQueueDefault is a constant that represents the default value to use for the TIdCustomTCPServer.ListenQueue property. IdListenQueueDefault indicates the maximum number of unresolved connection attempts (commonly referred to as backlog) allowed for a listener socket in TIdListenerThread

 

On the Windows platform, the default listen queue size can be determined by the Operating System. 

Non-server versions of Windows 95, Windows NT, Windows 2000, and Windows XP are internally limited to a maximum of 5 queued connection requests per listening socket. 

Server versions of Windows NT, Windows 2000, and Windows XP are internally limited to a maximum of 200 queued connection requests per listening socket.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.