Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Project 2: Client-Server Chat System In this project, you have to write a chat program under the client-server architecture for real-time communication between 3 users.

image text in transcribed

Project 2: Client-Server Chat System In this project, you have to write a chat program under the client-server architecture for real-time communication between 3 users. Specifically, the program should permit chat sessions between 2 or 3 users. In case of 3 users, messages generated by one user should reach the other two (e.g., like a conference). The chat program needs to allow a user to type messages, which should be conveyed to the other end(s) and displayed at the other end(s) Note that under the client-server architecture, clients cannot directly communicate with each other and must communicate through a server. The user interface need not be sophisticated, but should be usable. It can be text-based or graphical. Your program should only use UDP sockets and no TCP sockets. This means that you have to implement reliability (of the messages) on top of UDP in your own program, without using TCP. (Note that you are simulating packet losses). You don't need to worry about congestion/flow control, but you would need to ensure packets are in order. You can choose to implement any type of reliability mechanism (even your own design as long as it As a next step, implement a feature for the users to be able to exchange files. That is, in a two-user session chat between machines A and B, the user at machine A should be able to upload a file to machine B. The machine B's user will choose whether or not to receive the file, and where the incoming file should be placed, and using what name. Check that your program works for both text files as well as binary files, and verify that the file has been received successfully and reliably

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

Big Data Concepts, Theories, And Applications

Authors: Shui Yu, Song Guo

1st Edition

3319277634, 9783319277639

More Books

Students also viewed these Databases questions