The program implements a TCP server and a client that exchanges messages to measure the round-trip-time and throughput of the network.