Closing the server client notification?

6 replies [Last post]
Posts: 1030

When I close the server, it seems like some people's clients don't timeout or at least not within any decent time (5min +) so when the server starts again, it receives "Debug message from `` on `DemoGame.Server.ServerSockets`: Received unhandled library message Ping from [ip]

Is this a bug? Shouldn't the server try to log out all clients before it closes? I closed it properly with the quit command by the way.

Posts: 1691

As long as you are using a reasonable ConnectionTimeout (default is 8), then I'm not sure why it would persist longer than that.

Posts: 1030

It's set to 8 yet the client stays open indefinitely instead of "timing out".

Posts: 1691

Does the copy of the client you distributed have it set to 8? Since I screwed up and had it set to the wrong value for a while, so you could have easily released a copy of the client then.

Posts: 1030

I've released a client only a few days ago and the timeout hasn't been changed since then, and it says 8 now, so...

Besides, it also happens when using IDE/current built exe file.

Note that I build in TopDownDebug.

Posts: 1691

No idea then. But it doesn't sound like its much of a problem, so I can look into it again in the future if it persists.

Posts: 1030

'kay, Issue reported. See issue #296.