Discuss this help topic in SecureBlackbox Forum

TElServerSSLSocket.Active

TElServerSSLSocket     See also     


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


Specifies whether the session has been established and the data can be sent and received.

Declaration

[C#/Java]
    not available

[VB.NET]
    not available

[Pascal]
    not implemented;

[C++]
    not available

[PHP]
    not available

Description

    This read-only property returns True if the secure session was established, and the server can send data. If the server can't send data now, False is returned.
    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:     Close    

Discuss this help topic in SecureBlackbox Forum