sacOO7 / SocketclusterClientDotNet

C# client for socketcluster framework in node.js
http://socketcluster.io/#!/
Apache License 2.0
69 stars 16 forks source link

"SocketProtocolError: Socket hung up" error on server after closing program #9

Closed Aeroxander closed 7 years ago

Aeroxander commented 7 years ago

Thought the error could have something to do with the reverse proxy but I tried different ones so that isn't the issue.

I also need a 500ms timeout before I start subscribing after starting the connection, just tell me if I expect to much or if that is something that can be fixed too or if that's something with the server 😛

Aeroxander commented 7 years ago

I just manually send a disconnect event to the javascript client on the ApplicationExit event. Seems to work fine. Would rather be able to see which channel the C# client was connected to and send the disconnect event on the server though 😄

sacOO7 commented 7 years ago

Ok, Thanks. That worked out just fine :+1: Will use the same issue same problems. Good work :) .