[Qt-interest] QThread question

Colin S. Miller no-spam-thank-you at csmiller.demon.co.uk
Thu Dec 3 16:35:32 CET 2009


Tolik Piskov wrote:
> I need to implement a thread that will be constantly checking network 
> connection. It will look something like this:
> 
Hi Tolik,
it sounds are trying to monitor a TCP connection, to see if the remote end has
lost connectivity. If so, you should look at TCP Keep-Alive.

This forces the machines to exchange a ACK-SYN packet if no data has been transfered
for configurable period. It was initially developed to force any NAT devices on
the route to keep the path alive (hence the name). But it will also tell the
Keep-Alive end that the path to the other end has been lost.


HTH,
Colin S. Miller



More information about the Qt-interest-old mailing list