Skip to content

Simple event-based chat server; you can use telnet for client.

License

Notifications You must be signed in to change notification settings

lparenteau/event-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

event-chat

Simple event-based chat server; you can use telnet for client.

This is a good showcase of an event-based server in C, using epoll(). It also provide some insight with using branch prediction to improve performance.

To run the server, build and run : ./a.out -p

To connect using telnet : telnet <ip_of_server>

The first line you type in your telnet client will become the chatroom's name. Every other telnet connection that connect to that same chatroom will see what you type, and vice versa.

About

Simple event-based chat server; you can use telnet for client.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages