Baud Technologies interview question

How a ping command works?