Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Intermediate Accounting

Authors: Donald E. Kieso, Jerry J. Weygandt, And Terry D. Warfield

13th Edition

9780470374948, 470423684, 470374942, 978-0470423684

More Books

Students also viewed these Accounting questions

Question

Describe the goal of cognitive psychotherapy.

Answered: 1 week ago