effusion v0.1.0 Effusion.PWP.Socket View Source

Interface to Peer Wire Protocol (PWP) sockets.

Link to this section Summary

Functions

Accepts an incoming connection a listening socket, and performs a PWP handshake as the given peer

Get the address that the PWP socket is connected to

Closes a PWP socket

Connect to a server described by peer

Decode a binary message

Set up a socket to listen on port on the local host

Receives a message from a socket in passive mode

Send a message on a socket

Link to this section Functions

Accepts an incoming connection a listening socket, and performs a PWP handshake as the given peer.

Get the address that the PWP socket is connected to.

Closes a PWP socket.

Connect to a server described by peer.

Decode a binary message.

Set up a socket to listen on port on the local host.

Receives a message from a socket in passive mode.

Send a message on a socket.