In this project, the ping is implemented by operating  on TCP packets rather than ICMP packets. To test the host reachability TCP sockets are used on port 80 (HTTP port). Similarly Round Trip Time  is calculated by computing the time difference of the system clocks  before and after  a successful socket connection.