[Winpcap-users] Application to application delay

Antonio Ocampo antonio.ocampo at gmail.com
Fri Dec 1 20:08:45 GMT 2006


Thanks for the explanation Guy. I'm trying to calculate application to
application delay. At the moment i have written this piece of code:

header_time=localtime(&header->ts.tv_sec);
strftime( timestr, sizeof timestr, "%H:%M:%S", header_time);
fprintf(buffer,"%d %s.%.6d\n",num_packet,timestr,header->ts.tv_usec);

but it only gives me the timestamp put by the kernel. Not what I want :(

Please help me!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20061201/fc2ffb2a/attachment.htm


More information about the Winpcap-users mailing list