DEV Community

Discussion on: Inversion of Inversion of Control

 
jwp profile image
John Peters

The socket send receive cycle is enough to determine latency. However the protocol should be ICMP for best results because the Tcp/Ip retry logic gets in the way. Ping runs at ICMP layer.