Question: You should write a UDP service that performs array to array multiplication. For this task you should also write an application to demonstrate the use
You should write a UDP service that performs array to array multiplication. For this task you should also write an application to demonstrate the use of this system. The UDP service should first receive the size of the arrays. Then it should receive that many integers twice (for array 1 and 2). You should pass integers as text, use sprintf and atoi to convert to string and convert to integer (itoa is not in standard C). After receiving all the data, service should send "OK" message first. Then the result of each multiplication should be send to the requester. In the demonstration application ask 4 numbers from the user. Put first two numbers into first array and last two numbers to second array and send the data to server. Then display everything that is received from the server.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
