qt5base-lts/examples/network
Robin Burchell c82d40749d Fix multicast join/leave when binding to QHostAddress::Any.
On OS X and Windows, this was not working, because the socket was being bound
in v6 mode (due to ::Any being for dual mode), but the address passed was a v4
address, meaning it took the wrong codepath. Linux, strangely, apparently works
anyway.

This is fixable in OS X (by using the v6 join path when bound in v6/dual mode),
but the same fix doesn't work on Windows, failing with WSAEADDRNOTAVAIL.

Don't allow this behaviour, and provide a sane error message telling the user
what to do instead.

Done-with: Shane Kearns
Task-number: QTBUG-25047
Change-Id: Iaf5bbee82e13ac92e11b60c558f5af9ce26f474b
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
2012-04-02 12:49:38 +02:00
..
bearercloud Squashed commit of changes from the 4.8-temp branch. 2011-05-23 14:24:07 +02:00
bearermonitor Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
blockingfortuneclient Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
broadcastreceiver Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
broadcastsender Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
dnslookup Add support for DNS lookups using native APIs 2012-01-30 16:39:46 +01:00
download clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
downloadmanager clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
fortuneclient Fortune client example - list all IP addresses 2012-02-17 11:44:29 +01:00
fortuneserver Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
googlesuggest Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
http Test for QT_NO_SSL instead of QT_NO_OPENSSL 2012-02-21 15:28:40 +01:00
loopback Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
multicastreceiver Fix multicast join/leave when binding to QHostAddress::Any. 2012-04-02 12:49:38 +02:00
multicastsender Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
network-chat Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
securesocketclient Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
threadedfortuneserver Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
torrent Fix compilation of examples with QStringBuilder 2012-02-25 21:30:45 +01:00
network.pro Add support for DNS lookups using native APIs 2012-01-30 16:39:46 +01:00
README Remove references to demos from docs. 2011-07-05 19:57:54 +02:00

Qt is provided with an extensive set of network classes to support both
client-based and server side network programming.

These examples demonstrate the fundamental aspects of network programming
with Qt.


Documentation for these examples can be found via the Examples
link in the main Qt documentation.