effusion v0.2.0 Effusion.PWP.TCP.OutgoingHandler View Source

A connection to a peer.

Allows for network IO to happen in a separate process, and sends PWP messages back to the parent session server.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Start a connection to a peer in the Connection supervision hierarchy.

Start a connection to a peer, and link the resulting process to the current process.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Start a connection to a peer in the Connection supervision hierarchy.

Link to this function

disconnect(info_hash, peer_id, reason)

View Source

Start a connection to a peer, and link the resulting process to the current process.