|
Summary
Specifies the telnet service port on the remote host to which a connection will be established.
Description
The Port property specifies the remote port on the remote server on which the Telnet service resides. Most Telnet services listen for connection requests on port 23. Sometimes, for security
reasons, port numbers other than 23 are used for remote connections.
If the application will be connecting to remote services on a different port, then the Port property must be set before the connection attempt is made. An application may even want to query the user
for the correct port before connecting. The ActiveX control does not verify the setting of the Port property and any value is therefore legal.
This property can be changed at design time and at run time before a connection is established. The default value for this property is port 23.
Example
Vt220Client.Action = ACTION_INITIALIZE Vt220Client.Host = "speedy.distinct.com" Vt220Client.Port = 23 Vt220Client.Action =
ACTION_CONNECT
|