[Interest] QUdpSocket on Windows 10: QNetworkDatagram::destinationAddress/Port not set

Thiago Macieira thiago.macieira at intel.com
Wed Oct 4 17:29:22 CEST 2017


On Wednesday, 4 October 2017 02:38:31 PDT Richard Öhlinger wrote:
> On 10/04/2017 10:13 AM, Richard Öhlinger wrote:
> > I do bind to QHostAddress::AnyIPv4 and I get all the messages, but
> > just not destinationAddress/Port.
> 
> After looking at the implementation in qnativesocketengine_win.cpp i see
> that QNativeSocketEnginePrivate::nativeReceiveDatagram  does not set the
> destinationAddress/Port [1] whereas qnativesocketengine_unix.cpp does
> set it. [2]
> 
> Also the tst_QUdpSocket [3] does not test the functionality based on the
> documentation [4] There would have to be some #if(def) or if statements.

Thanks for the analysis. I'll fix it (it's also my code).

If you want to file a bug report too, I'd appreciate it.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list