Internet Direct (Indy)
Home
PreviousUpNext
TIdMappedPortTCP.OnBeforeConnect Event

Event handler signalled prior to opening the local client connection for a proxied client session.

Pascal
property OnBeforeConnect: TIdServerThreadEvent;

OnBeforeConnect is a TIdMappedPortContextEvent property that represents the event handler signalled prior to opening the local client connection for a proxied client session. 

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

 

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

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.