Skip to content

MichalBartos/Chat-Server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat Server

Simple chatroom in C. This project demonstrates the basic use of sockets. There is currently no client available but any telnet client will do. Just connect to the server on the specified port and address. By default port 5000 is used. The project was intended to run on Linux and Unix based systems. However with minor changes you'd be able to run it on Windows as well.

Build

Run GNU make in the repository make

Then start ./chat_server

Features

  • Accept multiple client (max 100)
  • Name and rename users
  • Send private messages

Chat commands

Command Parameter
\QUIT Leave the chatroom
\PING Test connection, responds with PONG
\NAME [nickname] Change nickname
\PRIVATE [reference] [message] Send private message
\ACTIVE Show active clients
\HELP Show this help

For the SSL version of the chat server check out the Chat Server Secure repository.

About

Simple chatroom in C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 98.5%
  • Makefile 1.5%