Skip to content

Linux C server enabling connected clients to send messages to one another whether they are online or not

Notifications You must be signed in to change notification settings

trrenty/LinuxBashMessenger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LinuxBashMessenger

Linux C server enabling connected clients to send messages to one another whether they are online or not

The server initialises a data structure for each user in the conturi.txt 'database' and gives them an ID that corresponds to the line they belong to.

When an user connects, he has to login using the 'login nameInDatabase'. From this point onwards, he has access to a bunch of commands such as: 'onUsers'(gives you a list of online users), 'history otherUser'(shows all the message with the named user), 'idUser message' (sends message to the user with the given ID) and 'reply otherUser messageId message' (replies to the givenUser's messageId, number representing the index on the message in their history, with a message).

The Server and Cliend applications have the following Flow Schema:

Flow Schema

About

Linux C server enabling connected clients to send messages to one another whether they are online or not

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages