Discuss this help topic in SecureBlackbox Forum

TElCustomSimpleSSLClient.Close

TElCustomSimpleSSLClient     See also     


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


Gracefully closes SSL session.

Declaration

[C#]
    void Close(bool Silent);

[VB.NET]
    Sub Close(ByVal Silent As Boolean)

[Pascal]
    procedure Close(Silent : boolean = false); virtual;

[C++]
    void Close(bool Silent);

[PHP]
    void Close(bool $Silent)

[Java]
    void close(boolean Silent);

Parameters

  • Silent - specifies whether a closing notification should be sent to the server.

Description

    This method forces TElCustomSimpleSSLClient to gracefully close SSL session. Call this method after application has finished using the connection and is about to close it.
    If SSL is not enabled and UseInternalSocket is true, TElSimpleSSLClient closes connection and returns. If UseInternalSocket is false, the method does nothing.
    If the Silent parameter is set to False, TElCustomSimpleSSLClient will send a closing TLS notification to the server. Set this parameter to True to prevent sending the notification packet. In this case the session can't be resumed later. The default value is False.

See also:     Open    

Discuss this help topic in SecureBlackbox Forum