Question
Note : ( please write codes not explain how to do please please ..!!! ) Multi-threaded chat room service... The system contains one chat server
Note : ( please write codes not explain how to do please please ..!!! )
Multi-threaded chat room service... The system contains one chat server (multi-threaded) and multiple chat clients.
Using c or c++
The server recognizes four commands,
CONN, MESG, MERR and GONE. CONN establishes a new client, sends a list of current clients, and notifies other clients a new person has joined the group. MESG sends a private message to the person designated. MERR sends last message again without an error if there is an error detected from receiver side. GONE removes an active client account and notifies all other members the client has left and kill the thread.
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