websocket-sharp
websocket-sharp copied to clipboard
A C# implementation of the WebSocket protocol client and server
Every time a client disconnects and tries to reconnect it keeps throwing this error. I tried KeepClean and ReuseAddress but still throws the error. What can I do to give...
[9/9/2023 4:37:00 AM] DEBUG c__DisplayClass66_0.b__0:791 System.IO.IOException: Authentication failed because the remote party has closed the transport stream. at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at...
`2017-03-20 00:02:31:385 | ---Clean-False` `2017-03-20 00:02:31:385 | ---CloseCode-1006` `2017-03-20 00:02:31:385 | --CloseReason-An exception has occurred while receiving.` The program began to run 5-6 hours without this error, and then began...
I am having an http server, that server returns a websocket address on a specific http request. Then my project connects to that websocket server. When websocket disconnection happens, my...
When I was testing the code from the sample I intentionally added a wrong URL but instead of OnError it triggers OnClose, is this the normal behavior or is something...
Hi, are this WebSockets-Sharp working in WebGL build ? I am connecting to SSL server and its working fine in the editor but when I build and run this project,...
I am trying to send data from websocket-sharp to a [https://github.com/statianzo/Fleck](Fleck) server and it will not send a large amount of data over websockets. The byte length of the message...
Net6
.NET 6 support
The overflow is caused by the recursive call of receive() in WebSocket.startReceiving(). ``` private void startReceiving() { if (_messageEventQueue.Count > 0) _messageEventQueue.Clear(); _pongReceived = new ManualResetEvent(false); _receivingExited = new ManualResetEvent(false);...
When a handshake error occurs, it is helpful if you can receive the http response code and body in the onclose event.