[GenNet] Simple Request to determine the Connection State
At the moment there is no mechanism to directly check the connection state of the GenNet-Client to the Server. If we receive a network related error in the calling module, then this is an indicator for a broken network connection. But to evaluate the error codes isn't a straight forward way.
In addition to this, there is no direct way to check if the connection is re-established. The only way I can think of, is to send a small message and wait for an error. If no error occurs after a specified time, we can assume the Client is online again.
A solution could be a Request with Response that sends a tiny message and checks the errors. Or an broadcast from the Client when a message could not be send and when a new connection was established.