Discuss this help topic in SecureBlackbox Forum


TElIdSSHClient     See also     

Filter: C#/Java  VB.NET  Pascal  C++  PHP  

This property specifies whether secure session is active


    not available

    not available

    property Active : boolean;

    not available

    not available


    Check this propertyto determine whether the secure session is active. If this property is set to True, the session is active, and you may transfer data through the tunnels.
    However, if the connection is lost on the socket level, there is no way to find out that the connection has been closed, and Active property can still be True. The only way to check the actual connection state is to send something and get an error if the connection has been closed. This is by design of TCP/IP.
    Your code should always be ready to handle unexpected disconnections and other network errors and reconnect if needed.

See also:     Connect     OnCloseConnection    

Discuss this help topic in SecureBlackbox Forum