Solved

tidtcpserver connection lost handle

Posted on 2016-10-31
2
132 Views
Last Modified: 2016-11-20
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
Comment
Question by:dolphin King
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 27

Accepted Solution

by:
mrcoffee365 earned 500 total points
ID: 41871118
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
 

Author Comment

by:dolphin King
ID: 41871273
i set readtimeout on ONconnect event but when client connection lost  disconnect did not triggered
0

Featured Post

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show, step by step, how to integrate R code into a R Sweave document
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Six Sigma Control Plans

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question