localtime only gives resolution of up to seconds so how does the microseconds field get filled?

--On Monday, February 24, 2003 9:29 AM +0100 Loris Degioanni <[EMAIL PROTECTED]> wrote:

I use localtime() and it works pretty well.

Loris

I'm wondering if anyone can tell me how winpcap gets a timestamp from
windows? I've been trying to get timestamps that are consistent with the
format that winpcap uses but since windows do not have gettimeofday(),
I've
been calling GetSystemTimeAsFileTime(). But even after resolving the time
from 100 nanosec to microsec, there is still some amount of variation.



Regards
Jonathan Chow



==================================================================
 This is the WinPcap users list. It is archived at
 http://www.mail-archive.com/[EMAIL PROTECTED]/

 To unsubscribe use
 mailto: [EMAIL PROTECTED]
==================================================================




================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[EMAIL PROTECTED]/

 To unsubscribe use
 mailto: [EMAIL PROTECTED]
==================================================================




Jicai Jonathan Chow <<Aircaster>> Carnegie Mellon University CIT, ECE Senior

There are many forms of solitude
--Isolation is just one


================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[EMAIL PROTECTED]/

To unsubscribe use mailto: [EMAIL PROTECTED]
==================================================================

Reply via email to