in reply to Time

Since you're writing a sniffer, aparently in Perl, you're almost certainly using Net::Pcap to implement the packet capturing. Why not use the second and microsecond timestamps that Net::Pcap give you with each packet it returns?

Excerpt from the Net::Pcap docs

The header information is a reference to a hash containing the following fields. ...
Those should be the packet timestamps from the NIC or your OSes kernel; which should be slightly more accurate than an timestamp generated inside your application.

Replies are listed 'Best First'.
RE: Re: Time
by Anonymous Monk on Aug 20, 2000 at 03:19 UTC
    Thanks.