Disconnect on timeout
by Ivan · in Torque Game Engine · 02/20/2007 (1:19 am) · 0 replies
Hi. With TNL I've built client-server system, that works well in home environment. Problems begun when I put it on internet. I noticed that about 1% of all connections to server are disconnected on timeout. The strange sing is that at the same moment when connection detects timeout it reconnects successfully to the server, so internet line isn't broken! The annoying thins is that to detect disconnect by timeout takes DefaultPingTimeout*DefaultPingRetryCount that is 5000ms*10=50sec.
My questions are:
-is there any known bug/issue that corrupts connections?
-anybody have same problem or solved this problem?
-are default params DefaultPingTimeout=5000, DefaultPingRetryCount=10 OK?
-what are recommended PingTimeout and PingRetryCount?
I have good connection to internet, usual ping 200ms, max 800ms, about 200 concurrent connections, server not loaded at all.
One more problem with such disconnects:
I use GuaranteedOrdered packets. when connection lost I don't know which data were sent and what lost and I need to think about recovery protocol - what a headache.
Any help appreciated.
Ivan
My questions are:
-is there any known bug/issue that corrupts connections?
-anybody have same problem or solved this problem?
-are default params DefaultPingTimeout=5000, DefaultPingRetryCount=10 OK?
-what are recommended PingTimeout and PingRetryCount?
I have good connection to internet, usual ping 200ms, max 800ms, about 200 concurrent connections, server not loaded at all.
One more problem with such disconnects:
I use GuaranteedOrdered packets. when connection lost I don't know which data were sent and what lost and I need to think about recovery protocol - what a headache.
Any help appreciated.
Ivan
About the author