websocket-sharp
websocket-sharp copied to clipboard
Cancel connection
If i try to connect to a server that is not currently online, websocket-sharp will seemingly indefinitely hang with the ReadyState of "connecting", with WebSocket.Close not doing anything
I have the same issue, I wonder if the checkIfAvailable() since it has a recursive call gets into an infinite loop.
@Beyley I could avoid the hanging by using ConnectAsync() instead of Connect()