Simple TCP ping-pong game.
Build the project with make
.
$ make
To run the program, you need to start the server and two clients.
In one terminal, run the server with ./server <port>
.
Example:
$ ./server 80000
With the server running, run the client with ./client <host> <port>
in another terminal.
Example:
$ ./client localhost 80000