Back to FlowSsh Documentation

DisconnectReason Enumeration

[C/C++]

enum FlowSshC_DisconnectReason
{
  FlowSshC_DisconnectReason_Exception       = 0,
  FlowSshC_DisconnectReason_FlowError       = 1,
  FlowSshC_DisconnectReason_ConnectionError = 2,
  FlowSshC_DisconnectReason_ConnectionLost  = 3,
  FlowSshC_DisconnectReason_ByServer        = 4,
  FlowSshC_DisconnectReason_ByClient        = 5
};

[C#]

public enum DisconnectReason
{
  Exception       = 0,
  FlowError       = 1,
  ConnectionError = 2,
  ConnectionLost  = 3,
  ByServer        = 4,
  ByClient        = 5
}

Remarks

Specifies possible disconnect reasons.