Question: Implement the following server and client application both for TCP and for UDP: A client continuously sends the numbers from 0 to 1000,000 to a
Implement the following server and client application both for TCP and for UDP: A client continuously sends the numbers from 0 to 1000,000 to a server listening on port 5566 . The server counts the received messages. Run the programs 1- on same computer 2- on 2 different computers connected by a cable directly or through a switch 3- on 2 different computers connected through WiFi For each run, provide screenshots of the run and provide how many packets have been received. Also measure the time required to send the packets and the time required to receive the packets (from first packet to last packet). When using different computers, make sure that the computers are within the same subnet for example, the IP of the first computer is 192.168.1.10, subnet mask 255.255.255.0 and the IP of the second computer is 192.168.1.11 and the subnet mask 255.255.255.0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
