thanks wysota and sorry for not quoting the C++ code with the code tag
thanks also for the interesting link (BTW the qt official documentation advise to overload the run method when thrading so here i was ... i think there is room for fixing it)
you advise not using threads and networking which sounds bad to me since i i am designing a client communicating using two IP ports wit the server and each IP port is related to different task demanded to the server. in order to maximize the execution speed i need two tcpSocket opened at the conencted IP address and different ports which dialogue with the server in parallel
I cannot afford that socket1 act first, socket2 wait for completion fo socket2, so i wAS thinking about threads ...
maybe i can simply create two different sockets in my application and connect the usual signals to different sendMessage and readMessage slots ...
have a nice weekend
Bookmarks