wewillhostit
New Member
When my websocket server loses a connection due to a mobile phone disconnecting from the internet, I can periodically check for one every fraction of a second, but that is inefficient.Is there an event I can listen for to trigger this instead that only occurs when a user connects to the internet?