It's the ping program in the book "UNIX Network Programming" Volume1