TCP Echo Server and Client, written in C. Server can handle multiple client connections concurrently by using epoll().
cd ./EchoServer- run
make
cd ./EchoServer- run
./server - run (up to 128)
./clientinstances
Enjoy the echo
TCP Chat Server and Client, written in C. Server can handle multiple client connections concurrently by using epoll(). Use the included Client to have a nice chat experience, alternatively netcat works as well.
cd ./Chat- run
make
cd ./Chat- run
./server <PORT> - run (up to 128)
./client <SERVER-IP> <PORT>instances (or usenc <SERVER-IP> <PORT>)
This code is probably unsafe and should not be used by anyone ever, except to learn the basics of using Sockets in Linux.