Return Extra Session Info

HostExplorer Programming

Return Extra Session Info

To set the last byte of the 18-byte structure:

  1. Add one of the following lines to the EHLLAPI.Settings section in the HOSTEX.INI file:
    • 'I'—Idle - Configured but not loaded and not connected.
    • 'R'—Ready - Session connected to host but not connected to HLLAPI.
    • 'C'—Connect - Session connected to host and connected to HLLAPI (Connect PS).

This sets the last byte of the 18-byte structure, normally reserved to a flag providing this information.
  1. Add the following lines to the EHLLAPI.Settings section in the HOSTEX.INI file:

[EHLLAPI.Settings]
Return Extra Session Info = On
This enables this extra flag byte.
Note: 
  By default, the HLLAPI standard interface does not provide any mechanism to know whether a session is: connected (with HLLAPI), loaded and connected to a host but not to HLLAPI, or simply configured and not connected at all.