Hypothetical reliable data transfer protocol, Computer Network Security

Assignment Help:

Hypothetical reliable data transfer protocol: A jumping window based Go-back-N  ARQ protocol for file transfer using UDP as the transport protocol:

In this protocol, a window of size W is used. The sender continuously sends W packets  corresponding to the current window, and then waits for an acknowledgement. The  receiver receives W packets. If all the packets are error-free, it sends out a positive  acknowledgement, say RR-i (RR: Receiver Ready). The receiver then moves its window starting from the packet with the sequence number i. Upon receiving RR-i the sender  moves its window starting from the packet with the sequence number i. If a receiver receives a damaged packet (say, with the sequence number j) in its current window, it receives and discards all the remaining packets in the current window and it sends out a negative acknowledgement, say REJ-j (REJ: Reject). The receiver then moves its window starting from the packet with the sequence number j. Upon receiving REJ-j the sender moves its window starting from the packet with the sequence number j and sends out packets starting from j.

Assume that the packet sequence number is in the range from 0 to 7. For each packet, 100 bytes of data is sent. Assume that a packet can be damaged according to a specified packet error probability. Ignore packet losses, ACK damages and losses. Implement the protocol, and measure and plot the throughput for different values of W (1, 2, 3, 4, and 5) and different error probabilities in the range from 0 to 0.5 in steps of 0.1. Use the random number generator to generate uniform distribution and declare a packet as damaged according to the specified error probability. Write a Report describing your implementation, how you carried out the performance study, performance graphs, and discussion on results.


Related Discussions:- Hypothetical reliable data transfer protocol

Routing tables and address masks, ROUTING TABLES AND ADDRESS MASKS Add...

ROUTING TABLES AND ADDRESS MASKS Additional information is saved in routing table. Destination is kept as network address. Next hop is saved as IP address of router. Address m

Military and space technology, crack the secret message and explain how the...

crack the secret message and explain how the code works. The clue is that it has something to do with the computer keyboard. J-Q-H-6 Q-E-F-Q-H-D-3-W 8-H 5-Y-3 7-W-3 9-R--D-9-J

Application layer protocol, Problem a) Give the destination IP address, up...

Problem a) Give the destination IP address, upper layer protocol, TTL in decimal and header checksum in hexadecimal; the source port number and the destination port number in deci

What do you meant by network address translation, Problem: (a) What do ...

Problem: (a) What do you meant by Network Address Translation (NAT)? Why is it used? (b) Given the following information by your ISP about your newly acquired Frame Relay c

How Ethical are Major Internet Companies?, Ask question #MHow Ethical are M...

Ask question #MHow Ethical are Major Internet Companies?

History, how did slavery influence life in the colonies

how did slavery influence life in the colonies

Arp responses, ARP RESPONSES Let's search out how does a computer know...

ARP RESPONSES Let's search out how does a computer know whether an incoming frame have an ARP message. The type field in the frame header defines that the frame contain an ARP

Difference between synchronous tdm and statistical tdm, Question (a) A CRC...

Question (a) A CRC is constructed to generate a 4-bit FCS for an 11-bit message. The divisor polynomial is X 4 + X 3 + 1 (i) Encode the data bit sequence 00111011001 using po

Explain quality management system, Question: Quality management standar...

Question: Quality management standards are seen as a major pillar supporting the drive for continuous quality improvement through TQM. (a) What do you meant by the term ‘Qua

CS, Discuss how developers should apply the following countermeasures to im...

Discuss how developers should apply the following countermeasures to improve the security of their code:

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd