Show / Hide Table of Contents

Enum ConnectionFailureReason

Lists potential reasons why an outgoing connection could not be established.

Namespace: MonoTorrent.Client
Assembly: MonoTorrent.dll
Syntax
public enum ConnectionFailureReason

Fields

Name Description
EncryptionNegiotiationFailed

After accepting the connection, a compatible connection encryption method could not be selected. Alternatively the remote peer could have reached it's open connection limit and simply closed the connection, or it could mean the peer did not support encrypted connections.

HandshakeFailed

A compatible connection encryption method was selected, but the peer closed the connection after the normal handshake was sent. This could mean the remote peer reached it's open connection limit and simply closed the connection, or it could mean the peer did not actually support the chosen encryption. This can happen if we choose to create an unencrypted outgoing connection and the peer only supports encrypted connections.

Unknown

There is no clear reason why the connection attempt failed.

Unreachable

The remote peer did not accept the connection. This might mean the client has gone offline or the client is behind a NAT/Firewall and cannot accept incoming connections.

In This Article
Back to top Generated by DocFX