[Winpcap-users] Ping program

Juraj Provaznik durip at ndf.sk
Mon Dec 11 21:58:49 GMT 2006


Hi,
I using winpcap to send icmp packet echo request and receive
icmp packet echo reply. problem is how to determine ping time.
At first i try take timestamp when i send packet and take timestamp when
i receive packet, but this way is going to be totally wrong.

now I use this technique:
1. send echo request packet
2. packet (1) receive with winpcap but with winpcap timestamp when was packet sent
3. receive icmp echo reply packet
4. timestamp packet(3) - timestamp packet(2)

Is other way how to determine sent packet winpcap timestamp?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20061211/0de4371e/attachment.htm


More information about the Winpcap-users mailing list