-
-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unconnected socket cannot be stopped (unless disposed) #63
Comments
https://github.com/doghappy/socket.io-client-csharp#options 2nd time I answer you from the Readme, |
Well, while I could admit that I had not paid enough attention to "Check the 'Samples~' folder and socket.io-client-csharp repo for more usage info." for the first issue (which is still not obvious to me though, because of "Supports socket.io server v2/v3/v4"), this one is absolutely different. I don't want to set Also, it does not make much sense that it behaves differently if one calls Therefore this issue should be reopened because it's fairly valid. |
An unconnected socket (destination unavailable) keeps trying to reconnect, even if .Disconnect(Async) had been called.
So it would connect as soon as the destination is available, which it shouldn't because of .Disconnect.
Such it is hard to "pause" a connection without destroying it completely (.Dispose).
Reason is, that .Disconnect only ever does something when the Connected property is true.
The text was updated successfully, but these errors were encountered: