Internet Direct (Indy)
Home
PreviousUpNext
TIdMappedPortTCP.OnOutboundDisconnect Event

Event handler signalled when the remote connection for the proxied session is disconnected.

Pascal
property OnOutboundDisconnect: TIdServerThreadEvent;

OnOutboundDisconnect is a TIdMappedPortContextEvent property that represents the event handler signalled when the remote system connection for the proxied session is disconnected. 

Event handlers are signalled in the following order during server processing for closing proxied client connections: 

 

Assign a procedure to the OnOutboundDisconnect event handler to allow responding to the closed connection during execution of a TIdMappedPortContext instance in the server. 

OnOutboundDisconnect is not triggered if the client connection to the remote system has not been successfully opened. 

Use OnDisconnect to perform processing required when the local client connection has been closed for the proxied session.

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.