Question: In this assignment you are required to write a coprocessor server and client. The client should distribute a task to multiple servers. Server should be
In this assignment you are required to write a coprocessor server and client. The client should distribute a task to multiple servers. Server should be a unix server which should take the filename as an argument. It is not required to serve multiple clients. Server should accept the connection and should receive one number (could be multiple digit long). It should read until it finds then it should convert this value to a number. Later, it should calculate fibonacci series entry for that specific number and send it back using the same way. Client should ask user a number to calculate fibonacci number of. Once received, client should execute two servers in two child processes. Sets two different files for the servers. Then it should connect to the servers, send number-1 and number-2 to each server. After which it should read the responses, sum those numbers and display the result on the screen.
I HAVE RECIVED THIS QUESTION BEFORE BUT IT WAS IN JAVA I NEED IN C AND LINUX ... MAKE SURE YOU CAN DO FAST .. THANKS
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
