i'm Daniele from italy
i'm developing a simple application for ping a remote machine..
i can send a icmp packet perfectly and i receive from remote machine a icmp echo reply
all is ok...i use ethereal for dump icmp packet and is ok....
but there a problem...
in my application i would calculate the lag from send and receive ping..
i ping always in debug mode www.google.com
i use User::TickCount() when i send ping and the another User::TickCount() when i receive the ping
but the time ping is always around 5 ms...
with my computer i have a lag for 76/80 ms..
i can't understand where is my error...
i use the Socket for the ICMP protocol
i use a Active Object for the engine and then use 2 other Active Object for menage the send data and the read data...
can you help me please??
thanks in advance