Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 175
  • Last Modified:

tidtcpserver connection lost handle

i use tidtcpserver there is some clients when they connection lost they are not getting disconnected from the server

i want to run command on the server side that send ping to each connected client if its time out on specif client disconnect him from the server , but i don't know how to do that in coding
0
dolphin King
Asked:
dolphin King
1 Solution
 
mrcoffee365Commented:
This is either very easy or a lot of work.  If the server has a configuration which sets connection timeout to 0 then you should try that.

If you don't have that parameter, then we're talking code.  In which case it's a fair amount of code and some advanced concepts in server connection management.
0
 
dolphin KingAuthor Commented:
i set readtimeout on ONconnect event but when client connection lost  disconnect did not triggered
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now