Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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)

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transact SQL Cookbook Help For Database Programmers

Authors: Ales Spetic, Jonathan Gennick

1st Edition

1565927567, 978-1565927568

More Books

Students also viewed these Databases questions