diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-08-13 12:07:37 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-08-27 16:38:50 +0000 |
commit | 23d52de3214976ffaaa2331b4b16fe0079afc8dd (patch) | |
tree | 33cc617fa6ca360e88b5f2ee90359f95d0d2d82b /.qmake.conf | |
parent | 5de734bc18dcf7cf660684c44b5fc6b886a7b88b (diff) |
QUdpSocket: use faster ways to get datagram size on Linux and macOS
With MSG_TRUNC on Linux, recv/recvfrom/recvmsg will return the full size
of the datagram, even if it won't fit the buffer you passed. On Darwin,
we have a getsockopt() option to get that value.
Change-Id: I6e9274c1e7444ad48c81fffd14da7d5b93815f90
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to '.qmake.conf')
0 files changed, 0 insertions, 0 deletions