Question: Help Please this program needs to be done in Java. Help Please 6. Programming Assignment: Based on the content covered in the class, you are

Help Please this program needs to be done in Java. Help Please

6. Programming Assignment: Based on the content covered in the class, you are required to implement a simplified network client-server simulating program. You can conduct the homework by yourself or work with another student as a group. You are required to set up your system with computers to emulate the sender, receiver and router, which are connected with TCP as shown in the following figure.

Router Sender Receiver Figure 1: Network Transmission Model (Topology)

Help Please this program needs to be done in Java. Help Please

Figure 1: Network Transmission Model (Topology) The sender will send Y packets (changing Y from 10; 20; 40; 60; 80; 100) via the router to the receiver. The receiver will reply with corresponding acknowledge packet as in the following figure.

We apply the Selective Repeat mechanism for sender and receiver. For the window size, you should use window size equals to 5.

The router in the middle will randomly drop a packet and ACK with a probability (10+X) %, where X is the last digit of the four digit number 9788 and your partners last digit of the four digit number 5973.

We further assume that the router not only randomly drop data packets, but also acknowledge packets.

Router Sender Receiver Figure 1: Network Transmission Model (Topology)

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!