You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after some while, if internet get disconnect, socket client do not generate any errors or exception and just will stop working.
i tried to add periodic task to send Ping command to make some error if connection has ben lost, but send method will not throw any exception if connection was not healthy.
how can i check the connection is healthy and and working well and if anything goes wrong, i do try to reconnect or get some error for running process again?
The text was updated successfully, but these errors were encountered:
i use this code for listening on socket server.
after some while, if internet get disconnect, socket client do not generate any errors or exception and just will stop working.
i tried to add periodic task to send Ping command to make some error if connection has ben lost, but send method will not throw any exception if connection was not healthy.
how can i check the connection is healthy and and working well and if anything goes wrong, i do try to reconnect or get some error for running process again?
The text was updated successfully, but these errors were encountered: