Hi,

I recommend you to use the non-blocking method. You can wait to get the response on the slot connected to the "readyRead" signal. If you know how many bytes you are waiting or maybe a special end of message character.