Ping function
-
I've been looking on forum's history and I didn't find anything efficient for this. So, I was thinking that would be good is there was a Ping-Pong function, so, in that way we could check if a node is alive and we can discover the network sending a ping to the broadcast address.
Sorry if I am wrong.
-
There is a heartbeat message in development-branch that does just this.
https://docs.google.com/document/d/1NKq5uuNdnxF5jWnum7VT32mbKLjuvqlx2A5D1qQ-H3Q/edit#
(But the node has to be awake of course...)
-
Nice @hek ! I see many intersting functions! Thanks!
Just one question... will I be able to send I_HEARTBEAT from controller to node(just to check if it is alive) or just the node can send this message?
-
Both ways. Node answers on this request. It is documented further down in the document.