Solved

tidtcpserver connection lost handle

Posted on 2016-10-31
2
48 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
2 Comments
 
LVL 26

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
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 …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

760 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now