jme-rs / tcp_pingpong

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TCP Ping-Pong

Simple TCP ping-pong game.

Build

Build the project with make.

$ make

Usage

To run the program, you need to start the server and two clients.

Server

In one terminal, run the server with ./server <port>.

Example:

$ ./server 80000

Client

With the server running, run the client with ./client <host> <port> in another terminal.

Example:

$ ./client localhost 80000

About


Languages

Language:C 92.9%Language:Makefile 7.1%