Solved

tidtcpserver connection lost handle

Posted on 2016-10-31
2
143 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

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

This is about my first experience with programming Arduino.
Part One of the two-part Q&A series with MalwareTech.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Starting up a Project
Suggested Courses
Course of the Month10 days, 11 hours left to enroll

632 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