effusion v0.2.0 Effusion.Statistics.Peer View Source
Statistics about peers.
For example, num_tcp_peers/0
returns the number of peers we are currently connected to.
Link to this section Summary
Functions
Remove a half-open TCP connection (i.e. we've started a socket but the remote peer has not yet opened the connection.)
Remove a TCP-connected peer.
Add a half-open TCP connection (i.e. we've started a socket but the remote peer has not yet opened the connection.)
Add a TCP-connected peer.
Initialize the peer stats ETS table and values.
The number of half-open TCP connections (i.e. the number of open sockets that the remote peer hasn't connected to yet..)
The number of peers currently connected over TCP.
Link to this section Functions
Remove a half-open TCP connection (i.e. we've started a socket but the remote peer has not yet opened the connection.)
Remove a TCP-connected peer.
Add a half-open TCP connection (i.e. we've started a socket but the remote peer has not yet opened the connection.)
Add a TCP-connected peer.
Initialize the peer stats ETS table and values.
The number of half-open TCP connections (i.e. the number of open sockets that the remote peer hasn't connected to yet..)
The number of peers currently connected over TCP.