WebSocket4Net icon indicating copy to clipboard operation
WebSocket4Net copied to clipboard

Subprotocol

Open dweberlj opened this issue 10 years ago • 2 comments

I am using WebSocket4Net as a client to a nodejs server. I am getting an exception in my .NET app "subprotocol doesn't match". In node, I am using nodejs-websocket.

Any help would be greatly appreciated. Thanks

dweberlj avatar Sep 04 '15 18:09 dweberlj

Which constructor of websocket are you using?

kerryjiang avatar Sep 05 '15 05:09 kerryjiang

I am trying use this library from dotnet core console app. I am getting "subprotocol doesn't match", if i tried to add multiple subprotocols. WebSocket ws = new WebSocket(wsurl, subProtocol:"abc.v1.ca, abc.v2.ca")

In this case I'm getting below error.

subprotocol doesn't match Websocket is closed.

osakishore avatar Jun 16 '21 14:06 osakishore