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

Event handler signalled when the local client for the proxied connection has been connected.

property OnConnect: TIdServerThreadEvent;

OnConnect is a TIdMappedPortContextEvent property that represents the event handler signalled when the local client for the proxied connection has been connected. 

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

 

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

Use OnOutboundConnect to perform processing required when the connection to the remote system in MappedHost and MappedPort has been configured and opened for the proxied connection.

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