ForwardingErrCode Enumeration

[C/C++]

enum FlowSshC_ForwardingErrCode
{
  FlowSshC_ForwardingErrCode_GeneralError       = 2,
  FlowSshC_ForwardingErrCode_ClientNotConnected = 3,
  FlowSshC_ForwardingErrCode_AddressInUse       = 4,
  FlowSshC_ForwardingErrCode_RejectedByServer   = 5,
  FlowSshC_ForwardingErrCode_RuleNotFound       = 6,
  FlowSshC_ForwardingErrCode_AlreadyInvited     = 7,
  FlowSshC_ForwardingErrCode_AlreadyDisabled    = 8
};

[C#]

public enum ForwardingErrCode
{
  GeneralError       = 2,
  ClientNotConnected = 3,
  AddressInUse       = 4,
  RejectedByServer   = 5,
  RuleNotFound       = 6,
  AlreadyInvited     = 7,
  AlreadyDisabled    = 8
}

Members

  • GeneralError: A general error occurred.
  • ClientNotConnected: Forwarding failed because the client instance is not connected to a server.
  • AddressInUse: The listening address is already in use. Can occur when adding a C2S forwarding.
  • RejectedByServer: The SSH global request has been rejected by the server. Can occur when adding a S2C forwarding, or when inviting server-configured forwardings.
  • RuleNotFound: Can occur when canceling forwardings.
  • AlreadyInvited: Can occur when inviting server-configured forwardings.
  • AlreadyDisabled: Can occur when disabling proxy forwarding.

Remarks

Specifies port forwarding errors. Used with the ForwardingErr structure/class.