How can I check latency between server and client using asp.net. I would like to ping the server from the client and get back the results. Is this possible?
I can ping the ip address of the client but obvisouly this doesn't work for numereous reasons. For example on speedtest.net they check latency and report back milliseconds I would like to aceive the same thing.
string strClientIP = Request.UserHostAddress;
Ping ping = new Ping();
PingReply pr;
pr = ping.Send(strClientIP);