Module: TCPServersManager

Classes

TCPServersManager

Members

(inner) maxPeersToAdvertise :number

Maximum number of peers we support simultaneously advertising

Type:
  • number
Source:

Events

failedConnection

Notifies the listener of a failed connection attempt. This is mostly used to determine when we have hit the local maximum connection limit but it's used any time there is a connection error since the only other hint that a connection is failed is that the TCP/IP connection to the 127.0.0.1 port will fail.

Properties:
Name Type Description
error Error
peerIdentifier string
Source:

routerPortConnectionFailed

Notifies the listener that an attempt to connect to routerPort failed.

Properties:
Name Type Description
error Error
routerPort number
Source: