Question: COMP-311 Computer Networks UDP Programming Assignment Write a client/server application using Python. a) The client inputs from user an integer and sends it to the

COMP-311 Computer Networks

UDP Programming Assignment

Write a client/server application using Python.

a) The client inputs from user an integer and sends it to the server through UDP socket connection.

b) The server computes the sum of all odd digits from the number and return it to the client.

c) The client then displays the sum of all odd integers. For Example: if the input is 32677, the sum would be (3 + 7 + 7 = 17.)

d) The client then displays the result to the user. And asks users if he wants to perform another addition. If Yes, repeat all steps else just terminate.

e) You must provide a command-line interactive interface.

f) Code should be well documented. 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. Late submissions are not allowed.

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!