Use of QUdpSocket::pendingDatagramSize and readDatagram is not compatible with other platforms or previous versions of Qt on Symbian.
The new Symbian implementation of pendingDatagramSize in 4.8's qsymbiansocketengine.cpp throws away the datagram header, thereby losing the sender address and port information. This breaks code like the sample below:
Full source is available at:
The expected behaviour is that pendingDatagramSize does not throw away the sender address and port information. When non-null sender and port parameters are supplied to readDatagram, this method should always provide the caller with this info from the datagram.