Closed chrisnobrega closed 2 years ago
@chrisnobrega what are you trying to do? This is strange library usage. In most cases you store peers or use Peer.Tag for storing your own info.
@chrisnobrega what are you trying to do? This is strange library usage. In most cases you store peers or use Peer.Tag for storing your own info.
I will probably roll my own id system, but at the moment I'm using NetPeer ids for identification.
I'm using TryGetPeerById to check if the given peer exists before messaging it.
Added TryGet helper method for GetPeerById:
GetPeerById example usage (current):
TryGetPeerById example usage (new):