[Qt-interest] QTcpServer timeout ?

Thiago Macieira thiago at kde.org
Wed Jul 21 19:45:04 CEST 2010


On Wednesday 21. July 2010 13.56.43 André Fillipe wrote:
> On 21 July 2010 11:39, Thiago Macieira <thiago at kde.org> wrote:
> > I don't think it is the proper tool for the job.
> > 
> > TCP Keep-Alive has a timeout of several hours. It's way more than the
> > usual inactivity timer in NAT firewalls.
> 
> I thought one could change these settings on a per-socket basis with
> setsockopt, no?

No, those are Linux extensions. So it's not available everywhere.

And like Stephen said, TCP keep-alive is to detect a remote that has rebooted 
or is unavailable.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100721/619a0a43/attachment.bin 


More information about the Qt-interest-old mailing list