On Wed, Jun 13, 2012 at 2:08 AM, Jason H <scorp...@yahoo.com> wrote: > Being on the embedded side, I can see why he wants only one client at a > time. It coudl be that he has a serial protocol that is not going over TCP, > where there is no idea of multiple clients. > He should be able to set maxPendingConnections to 0. But as the docs say "but > the operating system may still keep them in queue" > > There is no reason why you have to respond to a connection. You could wait > until your 1st connection is done, letting the accepted connection wait. > Also implement a time-out so that you'll delete accepted sockets if you > continue to ignore them. > Perhaps you could better describe your situation? > > I want to control my application remotely via TCP. Only one client should be able to connect and control my application at a time, hence this question.
Regards, Gopalakrishna -- My blog http://gkbhat.blogspot.com
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest