Question: Create a program with a concurrent server that can handle multiple requests to find the sum of the ones complements of two decimal numbers and

 Create a program with a concurrent server that can handle multiple

Create a program with a concurrent server that can handle multiple requests to find the sum of the ones complements of two decimal numbers and write the result in the form of a binary number. The clients should be able to read pairs of decimal integers from a text file and print what is received from the server on the terminal. You should use multiprocessing, not multithreading, on the server. We will do a multithreaded server later. Write the program in C or Python in Linux, not Windows. Due November 12. At least two client programs should have a text file with lines of input containing two decimal numbers per line. The input file should be big enough to test the concurrent server program that you write. The server should print on the monitor the result in each case in binary format, not in decimal format. Name the input file "decimal.in." The input files for the two processes should have distinct decimal numbers. Create a child process, not a thread, to handle each request at the server side. The server should not be a daemon. For this program you can use either C or Python. You are to use TCP/IP and Linux Submit a Collaboration Statement along with your source code for the client and for the server and the decimal.in file that you used. Include also a ReadMe file to explain to the user how to compile and run your program with any compile options that you are using. Use a makefile so that you can run the two or more clients simultaneously. Thus you may have as many as 5 files to zip together with 7 zip. Make sure you can unzip them before submitting 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!