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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started