CS4445 Western University Chat Application Project CS4445: Programming Assignment 3 Chat Application Submission Instruction: Name of your code files shou

CS4445 Western University Chat Application Project CS4445: Programming Assignment 3

Chat Application

Don't use plagiarized sources. Get Your Custom Essay on
CS4445 Western University Chat Application Project CS4445: Programming Assignment 3 Chat Application Submission Instruction: Name of your code files shou
Get an essay WRITTEN FOR YOU, Plagiarism free, and by an EXPERT!
Order Essay

Submission Instruction: Name of your code files should follow the format: cs4445YourNameChatClient.py

cs4445YourNameChatServer.py

Please write all your group members name on the top of the assignment. Your assignment will not be graded if name is missing.

******************************************************************* Chat Room

Problem Statement: Design a Chat application which has following features:

o It should use connection orient reliable Transport layer protocol o Chat Application follows client and multithreaded server architecture o Chat Room: Chat Messages are sent from everybody to everybody. o Standard message header: Notice that use of standard header will make applications developed by different users to be compatible with each other. Note that messages in only below format will be exchanged between server and client. Your application header must follow following field structure in the order of appearance. Following is the header structure in tuple format (Header Field, Header Size, description)  UNameL, 2 Bytes, Length of username in bytes  MessageL, 4 bytes, Length of message  Username, n, Username  Message, n, Message o Client Side User given parameters: IP address, port number, Username Note: any one is able to connect to any server

o Clients can come and go, when a new client (user) arrives the server should broadcast a message to all the clients with a message that someone has logged in and broadcast a message if server realizes someone has left. Server periodically displays a list of users.

Misc. Information/Tips: Your application must have above functionalities. You can extend the set of functionalities. Some extension ideas: Client can process commands and send command to the server (hint: add message type field in the application header), server can send the information about a particle user (view profile option), display a list of logged on users, Private messaging, authentication, Registration etc…

Important reading: Multithreading in python.

superadmin

Recent Posts

What is the easy difination of science | Quick Solution

Science is the pursuit and application of knowledge and understanding of the natural and social…

3 years ago

definition, values, meaning of such values and type of goods with such elasticity value …….. | Quick Solution

Clearly stating the definition, the values, the meaning of such values and the type of…

3 years ago

Acct 422 – Nora D | Quick Solution

All answered must be typed using Times New Roman (size 12, double-spaced) font. No pictures…

3 years ago

Acct 322 – Nora D | Quick Solution

All answered must be typed using Times New Roman (size 12, double-spaced) font. No pictures…

3 years ago

Macro Economics Question | Quick Solution

https://www.npr.org/sections/ed/2018/04/25/605092520/high-paying-trade-jobs-sit-empty-while-high-school-grads-line-up-for-university Click on the link above. Read the entire link and answer the questions below…

3 years ago

MGT 322 – Nora D | Quick Solution

All answered must be typed using Times New Roman (size 12, double-spaced) font. No pictures…

3 years ago