Question: COMP-311 Computer Networks UDP Programming Assignment 20 Marks Write a client/server application using Python. a) The client inputs from user a string and sends it

COMP-311 Computer Networks

UDP Programming Assignment 20 Marks

Write a client/server application using Python. a) The client inputs from user a string and sends it to the server through UDP socket connection.

b) The server computes the count of each alphabet and returns it to the client. c) The client then displays the count of each alphabet

For Example: if the input is a quick brown fox, the output will be:

a -> 1 b -> 1 c -> 1 f -> 1 i -> 1 k -> 1 n -> 1 o -> 2 q -> 1 r -> 1 u -> 1 w-> 1 x -> 1

(2 Marks) (5 Marks)

Note: It shouldnt print the alphabet which is not in the string. d) The client then displays the result to the user. And asks users if he wants to perform another computation. If Yes, repeat all steps else just terminate. (10 Marks) e) You must provide a command-line interactive interface. f) Code should be well documented. (3 Marks)

Instructions: Compile your programs (both client and server) and make sure they are working. Your code should be well commented and indented. Create a Readme file (text file) and write how to compile and execute your code. Please create a zip archive of your assignment folder (code, header files if any and Readme file) and upload the zip file.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!