Anyone who needs help with how to know if a connected user is connected by mesh is offline or online just ask me. I use a special method where the host connects first and when it recieves a message from the other user who joins, it starts changing a number by 1 and so does the other user. If the number on the host is greater it means they have disconnected.
Offline