ConnectionInfo

The CONNECTIONINFO structure will be filled with the information about the host connection, consisting of the following information:

Structure Information
Host name States the name of the currently connected Telnet host.
LU name States the LU name currently assigned.
Port number States the host port number being used for the connection.
SSL indicator Indicates a Secure Connection (1 = secure; Ø = not secure).
Note: This API is valid only with the 32-bit version of PCSAPI, and only works for Telnet connections.