Internet Direct (Indy)
Home
PreviousUpNext
TIdCustomTCPServer.ReuseSocket Property

Indicates reuse of local addresses for listener threads.

Pascal
property ReuseSocket: TIdReuseSocket;

ReuseSocket is a TIdReuseSocket property that indicates if socket IP addresses and port numbers can be reused for TIdListenerThread instances used in the server. ReuseSocket is used when setting the socket options for an allocated socket handle in a listener thread during server startup. 

The default value for ReuseSocket is rsOSDependent as assigned during component streaming, and indicates that socket handle reuse is dependent on the platform or Operating System hosting the Indy library.

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.