Question
Write C++ program for server and client for chat applicationhaving the following requirements: Client Server Connection: A connection between client and server must be established
Write C++ program for server and client for chat applicationhaving the following requirements:
Client Server Connection: A connection between client and
server must be established first.
User Authentication: The server should authenticate theuser
from a poll of registered user data kept with appropriatedata
structure.
Server Handshaking: The user should get the customize
message from server entering the user id but before providing
the password by which the user get conformation that it got
connected to the proper server.
Server side Firewall Protection: The server should listen toport
8080 for client connection and make the client sidecomputer
access the server port.
Authenticated User Access: All the authenticated user shouldbe
allowed to have access to the server for chat.
Server side Concurrency: The server should support the
concurrent client connection.
Note- code should be in c++
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