Hi
I currently use
WinPCap to capture network packets but also wish to capture serial comms at the
same time. My data logging application needs to provide provide a means for
synchronising the times of serial data received in conjunction with network
packets received.
I can obtain a high
precision timestamp for the serial data using QueryPerformanceCounter and
QueryPerformanceCounter but the generated timestamp does not tie in with the
timestamp generated by WinPCap. I require accuracy to 6dp (1 microsecond) for
all timestamps.
I'm using Windows XP
and Delphi 7. Can anyone help ?
Many
thanks
Toby
PS would
NdisGetCurrentSystemTime be suitable and if so is there a easy method of calling
it via winpcap ?
