Question: Computer Networks: simplex-talk socket program ****** Please copy and paste this link to your browser : http://cs.mvnu.edu/twiki/pub/Main/JimSkon/Computer_Networks_A_Systems_Approach.pdf ***** ***** From pages 41-44 copy and paste
Computer Networks: simplex-talk socket program
******Please copy and paste this link to your browser: http://cs.mvnu.edu/twiki/pub/Main/JimSkon/Computer_Networks_A_Systems_Approach.pdf *****
*****From pages 41-44 copy and paste the code into the C programming language to solve the question below*****
Modify the simplex-talk program so that it uses UDP as the transport protocol, rather than TCP. You will have to chance SOCK_STREAM to SOCK_DGRAM in both the client and the server. Then, in the server, remove the calls to listen() and accept(), and replace the two nested loops at the end with a single loop that calls recv() with socket s. Finally, see what happens when two such UDP clients simultaneously connect to the same UDP server, and compare this to the TCP behavior.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
