kerryjiang / WebSocket4Net

A popular .NET WebSocket Client
Apache License 2.0
764 stars 273 forks source link

Why does my socket always close after "41"? #181

Closed 1337vida closed 1 month ago

1337vida commented 3 years ago

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?

mantasdaskev commented 3 years ago

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.

kerryjiang commented 3 months ago

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