nextPendingConnection () returns a new socket with respect to a new client.
This new QSocket is passed to the
connect () function which connects it to a
SLOT 'xyz' with
SIGNAL '
readyRead()'.
Now in the
SLOT 'xyz' how I am supposed to automate the monitoring of ALL connected sockets to see whether some data is available on them?
One
pathetic way would be to run all the sockets through a
for loop and check each one of them for the data.
Secondly, I read up on QSocketNotifier() here:
http://doc.qt.nokia.com/4.7-snapshot...SocketNotifier
But I am not sure if that is the correct thing, please guide.