Peer


Description:

[ CCode ( has_construct_function = false ) ]
public Peer (string swarm_name)

Create a new Peer.

The peer will immediately connect to the swarm and start the peer discovery.

Parameters:

swarm_name

The name of the swarm to join. Fx "org.example.DataProviders"

Returns:

A newly constructed Peer. Free with unref.