[Interest] QTcpServer - One connection per port

Thiago Macieira thiago.macieira at intel.com
Tue Jun 12 13:02:11 CEST 2012

On terça-feira, 12 de junho de 2012 16.18.25, Gopalakrishna Bhat wrote:
> Yeah, that is the reason. I get that signal. Any way we can get my usecase
> to work?

No, it's not possible because it's a race condition.

Even if we tell the operating system to keep at most one socket in queue, 
between accept() and close(), another socket could be accepted by the OS.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120612/506e06d1/attachment.sig>

More information about the Interest mailing list