Indicates how IP addresses and port numbers are reused for listener threads in TCP servers.
TIdReuseSocket = ( rsOSDependent, rsTrue, rsFalse );
TIdReuseSocket is an enumerated type that represents the manner in which socket reuse is supported in Indy TCP servers. TIdReuseSocket can contain one of the following values and associated meanings:
Value |
Meaning |
rsOSDependent |
Reuse IP addersses and port numbers when the OS platform is Linux. |
rsTrue |
Always resuse IP addersses and port numbers. |
rsFalse |
Never resuse IP addersses and port numbers. |
TIdReuseSocket is the type used to represent the TIdTCPServer.ReuseSocket property, and indicates if IP addresses and port numbers can be reused for TIdListenerThread instances used by the server.
A TIdReuseSocket value is used as an option for setting socket options for the protocol stack when allocating the listener thread(s) after a server becomes Active.
The default behavior for servers in Indy is rsOSDependent.
TIdTCPServer.ReuseSocket
Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved. Website http://www.indyproject.org. Post feedback to the Indy Documentation newsgroup. |