Topic Path: Symbol Reference > Classes > TIdMappedPortTCP Class > TIdMappedPortTCP Events > OnBeforeConnect Event
ContentsIndexHome
PreviousUpNext
TIdMappedPortTCP.OnBeforeConnect Event

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

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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.