private static void AddPeer(Peer peer) { Random rand = new Random(); peer.ConnectToPeer(1300); if (!Peers.TryAdd(rand.Next(), peer)) { peer.Disconnect(); } }