WebSocket-Sharp socket can’t receive messages (OnMessage never emits)
I’m writing a BepInEx Plugin for the game Content Warning, and my WebSocket Client (the game) can’t receive messages for some reason (from the server), and OnMessage
does not emit.
I can see on my server that messages are being received, but I cant send messages to the client.
OnOpen
works. What am I doing wrong?
websocket-sharp change byte order in WebSocket.Send
While experimenting with different websocket implementations for C# .NET, I noticed that they send byte arrays with different byte orders: