A simple TCP/IP-based chat application consisting of a server and client.
To compile both the server and client programs, run:
make
This will create two executables: server and client.
./server
The server will start listening on port 8888. It can handle up to 10 simultaneous client connections.
./client
The client will attempt to connect to a server running on localhost (127.0.0.1) on port 8888.
Once connected, you can type messages which will be sent to all other connected clients.
- Multiple client support (up to 10 clients)
- Real-time message broadcasting
- Simple command line interface
- Automatic notification of client connections and disconnections
To remove the compiled executables:
make clean
If you find this project useful, consider buying me a coffee!
