WebSocket4Net icon indicating copy to clipboard operation
WebSocket4Net copied to clipboard

Why does my socket always close after "41"?

Open 1337vida opened this issue 4 years ago • 2 comments

Hello! I'm making a program that uses WebSocket4Net to connect to a socket.io server ( i made pinging stuff etc ), but it always seems to close by the client side after the 41 message. Why?

1337vida avatar Jan 12 '21 22:01 1337vida

same problem here. I use newest nugget version 0.15.2 (which is quite old by this time, but it is official). It just closes the conn after about 40-50s. Tried to make interval for 24h, tried turning autoping off, nothing seems to change it. It does what it wants.

mantasdaskev avatar Mar 18 '21 11:03 mantasdaskev

Please try WebSocket4Net 1.0.0-beta.2. https://www.nuget.org/packages/WebSocket4Net/1.0.0-beta.2

kerryjiang avatar Jun 22 '24 15:06 kerryjiang