Hi,
Thanks for your reply.
The problem was the code in snippit I pasted was executed in the Main/UI-Thread, which seems to receive new bytes asynchronously. So my infinite loop was not allowing the Main-Thread to execute the receive-handler and therefore bytesAvailable() always returned 0.
I now call processEvents() within the loop, and things seem to work as expected :)
Thanks & br, Clemens