Internet Direct (Indy)
Home
PreviousUpNext
TIdMappedPortTCP.OnConnect Event

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

Pascal
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.

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.