This is a C++ implement of the original smallchat, utilizing epoll to manage TCP connections.
To compile the project, run the following command:
make
Start the server with the following command:
./smallchat
The server will start and listen for incoming TCP connections on port 7711.
You can launch multiple terminals and use Telnet:
telnet localhost 7711
Any message from one client will be broadcasted to all other connected clients.