[Interest] Packet arrival-time resolution? QUdpSocket
Thiago Macieira
thiago.macieira at intel.com
Tue Nov 28 20:45:10 CET 2017
On Tuesday, 28 November 2017 09:52:57 PST Thiago Macieira wrote:
> > As for the API:
> > https://stackoverflow.com/questions/13304672/socket-reading-and-timestamps
> > - uses recvmsg()
> > https://github.com/torvalds/linux/blob/master/Documentation/networking/tim
> > e
> > stamping.txt - really good guide It looks like Linux will support usec and
> > even nsec resolution timestamps.
>
> Thanks, "SO_TIMESTAMP" is what I was looking for.
Done. Test works fine on Linux.
It fails horribly on macOS, the timestamp is never given. It might be because
it's a loopback socket, so I need to check a little further.
Windows will not be supported.
No link because the patch requires https://codereview.qt-project.org/212436 to
be merged upwards to 5.11 first.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list