Olivine-Labs / Alchemy-Websockets

An extremely efficient C# WebSocket server.
http://AlchemyWebsockets.net
Other
309 stars 105 forks source link

Server Automatically Disconnects Client #86

Open tej-rana opened 11 years ago

tej-rana commented 11 years ago

Hi

I am not sure if this is done deliberately or this can be hacked from somewhere, but the server keeps dropping my client connection after a brief period of inactivity. Is there a way to send a heartbeat from the client automatically to make sure the connection remains open?

I created C# server and C# client.

mokeev1995 commented 9 years ago

you can send to the server or from the server ping-pong queries, it should help.