Skip to content
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

Cannot disconnect if the connection is lost #8

Open
enrickla opened this issue Aug 24, 2020 · 0 comments
Open

Cannot disconnect if the connection is lost #8

enrickla opened this issue Aug 24, 2020 · 0 comments

Comments

@enrickla
Copy link

Hi,

When the connection to server is lost, this error start spamming the console every 1 min. Is there a way to drop the disconnect handshake and force close the socket?

OnError: System.Net.WebSockets.WebSocketException (0x80004005): The remote party closed the WebSocket connection without completing the close handshake. ---> System.IO.IOException: Unable to write data to the transport connection: A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied. . ---> System.Net.Sockets.SocketException: A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied.

Really cool socket,io library btw!!

@enrickla enrickla changed the title Stuck when lose the connection Cannot disconnect if the connection is lost Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant