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 _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest