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
Solved

tidtcpserver connection lost handle

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is about my first experience with programming Arduino.
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…

809 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