Answered step by step
Verified Expert Solution
Link Copied!

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 Multi-User MESSAGING application without any graphical user interface(GUI) using C
language. The project should include 2 different programs which run independently on server-side and client-side. The
server-side program would listen to the clients and capture messages and then deliver them to the corresponding client
(user). The client-side 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 server-side 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 client-side program would have the following capabilities:
User would
display their contact list
add/delete a user to/from contact list
check message(s)
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 his/her contact list
(should be ordered by date ascending)
delete corresponding message(s)
see alert messages including "Message Received", "Message Sent", 2. 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 his/her unique userid. .\client userid
The server-side program should compare the userid to the userlist saved on the server-side. 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 message(s).
There will be 3 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: UserID(unique), Mobile Phone Number, Name, Surname
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Database Modeling With Neo4j

Authors: Ajit Singh

2nd Edition

B0BDWT2XLR, 979-8351798783

More Books

Students also viewed these Databases questions