websocket-sharp icon indicating copy to clipboard operation
websocket-sharp copied to clipboard

A C# implementation of the WebSocket protocol client and server

Results 108 websocket-sharp issues
Sort by recently updated
recently updated
newest added

This looks like an actively developed and maintained project, so why there are no releases?

Fatal error on server: ``` |Fatal|c__DisplayClass174_0.b__2:0|System.ObjectDisposedException: Cannot access a disposed object. Object name: 'SslStream'. at System.Net.Security.SslStream.g__ThrowExceptional|138_0(ExceptionDispatchInfo e) at System.Net.Security.SslStream.EndRead(IAsyncResult asyncResult) at WebSocketSharp.NetCore.Ext.c__DisplayClass59_0.b__0(IAsyncResult ar) ``` Server: .NET 6, Client: Unity 2021...

Hello. I am make websocket server used this library. And want access HelloWebSocketService class property. How to aceess HelloWebSocketService class? Please go down "// Situation." line. Thanks. ```C# public class...

How to realize disconnection reconnection? We now encounter the following scenario: After the server is restarted, the client loses its connection, and they cannot continue to communicate unless the client...

Using StreamThreads library to flatten the recursion in receive. The flattened code has been put into StreamThreader.cs Referencing issue #702 A fork has been created for a NET 6.0 build...

The server example starts fine, but as soon as someone sends it a message, it crashes with this error: 1/11/2023 3:05:09 PM|Error|c__DisplayClass70_0.b__0|Operation is not supported on this platform. 1/11/2023 3:05:09...

When I get ping I need to send back pong. But I can't find any possibility to do this. private void OnMessage(object sender, MessageEventArgs e) { if (e.IsPing) { _ws.Send(Opcode.Pong);...

I get the feeling that the following code line might be faulty: int num = ((int) ((byte) ((int) ((byte) ((int) ((byte) ((int) ((byte) ((int) ((byte) ((int) this._fin

Hi, Do you have any input about how to close a connection server side? I want to close the connection when the access is unauthorized.

I am trying to connect to a local application with tls 1.3. This is my code: ``` using (var ws = new WebSocket("wss://localhost:55400/")) { ws.OnMessage += (sender, e) => OnMessage(sender,...