PDA

View Full Version : QUdpSocket and bytesAvailable



babu198649
10th December 2008, 10:49
hi
i have two programs one sends udp packets continously and the other receives.I write int and send it to the host.

IN the host the bytesAvailable() function always returns 4 even when i dont read the data from the socket(even calling bytesAvailable inside while loop).
Does the QUdpSocket buffer the incoming data so that it can be read after certain number of bytes are available same as QTcpSocket