Skip to content

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

Notifications You must be signed in to change notification settings

GNAYUOHZ/smallchat-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages