[Interest] QTcpServer - One connection per port

Gopalakrishna Bhat gopalakbhat at gmail.com
Tue Jun 12 11:14:54 CEST 2012


Hi,

I am trying to use QTcpServer to accept connection from only one client at
a time, but i'm not able to do so.

I tried setting setMaxPendingConnections to one but then
also waitForConnected on the second client returned true. I want
waitForConnected to return true only for the first client.

Any I idea what I am doing wrong?

With regards,
Gopalakrishna

-- 
My blog http://gkbhat.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120612/dad60bc8/attachment.html>


More information about the Interest mailing list