DEV Community

Discussion on: Inversion of Inversion of Control

 
3shain profile image
3Shain • Edited

Off-topic though. Ping-pong isn't necessarily used for checking network status. E.g. measure the delay, "let me know you are not dead", etc. Maybe it's my fault to use the name ping-pong but not "echo" so someone can nitpick.

Thread Thread
 
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.