Answered step by step
Verified Expert Solution
Question
1 Approved Answer
SUBJECT You are required to implement a Multi - User MESSAGING application without any graphical user interface ( GUI ) using C language. The project
SUBJECT
You are required to implement a MultiUser MESSAGING application without any graphical user interfaceGUI using
language. The project should include different programs which run independently on serverside and clientside. The
serverside program would listen to the clients and capture messages and then deliver them to the corresponding client
user The clientside programs would react like users and these programs could be run on different terminals
simultaneously. The details of the system are given below. Please read them carefully and strictly conform to these details
while implementing the system.
System Details
The serverside program would have the following capabilities:
It would
listen to the clients continuously.
deliver the messages to the corresponding user
store all the user list of each client
deliver the alert messages to the corresponding user
The clientside program would have the following capabilities:
User would
display their contact list
adddelete a user tofrom contact list
check messages
write a message and send it to one of the users within the contact list
receive a message and read it
display the message history of each user within hisher contact list
should be ordered by date ascending
delete corresponding messages
see alert messages including "Message Received", "Message Sent", TIPS AND HINTS
This project should be partitioned into several modules and each module should be implemented separately. You should also clearly define inputs and outputs of each module.
There would be two separate programs. server.c and client.c Both programs should run on localhost but separately.
Only one server.exe would run at the same time whereas many clients.exe would run on different terminals simultaneously.
Each client should login to the system by sending hisher unique userid. client userid
The serverside program should compare the userid to the userlist saved on the serverside. If the user does not exist
within the list, the server should add the user to the list and create a contact list for that user.
Each client should send a request to the server by selecting CHECK MESSAGES item in the menu in order to get new messages
There will be different types of messages.
o Request for Login
o Request for Sending a Message o Request for Receiving a Message
The following information of the users should also be stored at server side: UserIDunique Mobile Phone Number, Name, Surname
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started