Back to FlowSsh Documentation

DisconnectReason Enumeration

[C/C++]

struct FlowSshC_DisconnectReason { enum {
  Exception       = 0,
  FlowError       = 1,
  ConnectionError = 2,
  ConnectionLost  = 3,
  ByServer        = 4,
  ByClient        = 5 }; };

[C#]

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

Remarks

Specifies possible disconnect reasons.