websocket-sharp
websocket-sharp copied to clipboard
error when running server example
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.<receiveRequest>b__0|Operation is not supported on this platform. 1/11/2023 3:05:09 PM|Fatal|WebSocket.<startReceiving>b__176_2|System.ObjectDisposedException: Cannot access a disposed object. Object name: 'System.Net.Sockets.NetworkStream'. at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult) at WebSocketSharp.Ext.<>c__DisplayClass48_0.<ReadBytesAsync>b__0(IAsyncResult ar)
same problem here.