It might not be wise to allow Ping to form random connections with any node. Here, we only allow Ping to send messages to immediate neighbors. If we want to connect to nodes we don't already know, explicitly use Connect
Because connections affect our routing. Since we have pretty naive routing now, probably wise to control the behavior for making connections (so things are a little more predictable).
It might not be wise to allow
Ping
to form random connections with any node. Here, we only allowPing
to send messages to immediate neighbors. If we want to connect to nodes we don't already know, explicitly useConnect