Internet Direct (Indy)
Home
PreviousUpNext
TIdCommandHandler.Disconnect Property

Closes the connection to the peer after handling a command.

Pascal
property Disconnect: boolean;

Disconnect is a Boolean property that indicates if the command handler should close the connection to the peer after the Enabled command handler is invoked. Disconnect is used in Check, after an associated TIdCommand object instance has been created, prepared, and signalled to the OnCommand event handler. When Disconnect is True, the peer thread connection is closed prior to exiting from the Check.

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.