A simple program that allows the server to echo the message sent by the client. The RTT (round-trip time) is measured.
Play around with the networking basics in C and Linux. To run the program, make the file first, and then host the server with a specific port. Finally, the client can connect to the server using server address and port number.