How to see if a peer signed out of the network?
I want to accomplish a simple functionality here. I want to see in real-time what the peers connected to the network(LAN) are.
I find no API method to catch the event when a peer signed out. Currently I'm sending peer advs at a regular interval and that's all my discovery protocol. It would be much more nice to be able to receive 2 events: when a user got in and got out of the network.
How would any of you implement this task?(I'm aware of Peer Information Protocol but don't know how to use it)
Any help will be highly apreciated!