SimpleSockets
SimpleSockets copied to clipboard
Recognizing when the client fails to connect to the server
Is your feature request related to a problem? Please describe. It would be nice to have a Client.OnConnectionFailure event so we could make it stop reconnecting or add other stuff
Describe the solution you'd like Like mentioned above the addition of a Client.OnConnectionFailure event handler would be it
Describe alternatives you've considered I could make the reconnect timer 0 and then manually close/dispose the client but then I would have to keep declaring it in order to reuse it
Additional context I have been learning how to code by myself so if I am missing something please let me know, thanks in advance :)