Discuss this help topic in SecureBlackbox Forum

TElSSHServer.Close

TElSSHServer     See also     


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


This method closes the SSH connection

Declaration

[C#/Java]
    void Close(bool Forced /* = false */);

[VB.NET]
    Sub Close(ByVal Forced As Boolean = False)

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

[C++]
    void Close(bool Forced);
    void Close(int32_t ErrorCode, const std::string &Reason);

[PHP]
    void Close(bool $Forced)
    void Close(integer $ErrorCode, string $Reason)

Parameters

  • Forced - if this parameter value is False the server will close connection gracefully and send notification to the client.If True - the connection will be just closed without any notitfications.
    Default value is False
  • ErrorCode -
  • Reason -

Description

    Call this method to close the SSH connection. All active tunnels will also be closed. After calling this method no more data should be sent through tunnels.

See also:     Open    

Discuss this help topic in SecureBlackbox Forum