See https://bugreports.qt-project.org/browse/QTBUG-27152 for the workaround example.
Type: Posts; User: ppentika3; Keyword(s):
See https://bugreports.qt-project.org/browse/QTBUG-27152 for the workaround example.
The simple workaround is not to ask for size first, but instead allocate a 64k datagram buffer and resize based on what readDatagram returns (on success).