Include scope ids in QHostAddress from QNetworkInterface
authorShane Kearns <shane.kearns@accenture.com>
Wed, 9 May 2012 16:06:47 +0000 (17:06 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 11 May 2012 15:39:13 +0000 (17:39 +0200)
commitb72c8dd8a248d67b1192e3baa1fca07244a3719d
tree434191d0472fb555c6cf993e053eebcea14d0267
parent653bca19c70bda9aa6f058380694451fa3ed3a16
Include scope ids in QHostAddress from QNetworkInterface

The scope ID is a required part of the address for link local
addresses (to solve the problem of the same link local address
being created by two machines on different networks).
It is required to send packets to a link local address on Mac and
Windows, although Linux multicasts if scope is missing.

Task-number: QTBUG-25634
Change-Id: Ie2bb09df8d261eefcb81716bafeb1475f0bed5fe
Reviewed-by: Martin Petersson <Martin.Petersson@nokia.com>
src/network/kernel/qnetworkinterface_unix.cpp
src/network/kernel/qnetworkinterface_win.cpp