Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smallchat-cpp

This is a C++ implement of the original smallchat, utilizing epoll to manage TCP connections.

Getting Started

Build

To compile the project, run the following command:

make

Running Server

Start the server with the following command:

./smallchat

The server will start and listen for incoming TCP connections on port 7711.

Running Clients

You can launch multiple terminals and use Telnet:

telnet localhost 7711

Any message from one client will be broadcasted to all other connected clients.

About

A minimal programming example for a chat server in C++ and epoll.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages