a TCP client-server application written in C using sockets
TCP Server
A small TCP client-server application written in C using POSIX sockets.
Features
- IPv4 TCP client and server
- Line-oriented text protocol
- Fork-per-connection concurrency
- Partial read and write handling
- Basic connection error handling
Build
make
Run
./server 9000
./client 127.0.0.1 9000
Commands
ECHO hello
TIME
QUIT