TIdMappedTelnetCheckHostPort
Event type triggered when connecting a local TELNET client to the TELNET proxy.
TIdMappedTelnetCheckHostPort = procedure (AThread: TIdMappedPortThread; const AHostPort: String; var VHost,VPort: String) of object;
Unit
Parameters
AHostPort
Remote Host port number for the connection.
AThread
Proxy conncetion thread for the event.
VHost
Host address for the local connection.
VPort
Port number for the local connection.
Description
TIdMappedTelnetCheckHostPort is an event type triggered during execution of a port-based TELNET proxy connection. TIdMappedTelnetCheckHostPort allows the TELNET proxy to verify the Host Address and Port number extracted from a TELNET connection line, and used to
connect the local client to a remote host. TIdMappedTelnetCheckHostPort is the type used to represent the
TIdMappedTelnet.OnCheckHostPort event handler.