Skip to content

2. Write programs to estimate UDP datagram loss.  #3

Description

@IMarnild

The program Your programs must accept as input

  • (a) datagram size
  • (b) number of datagrams to send
  • (c) interval between transmissions.

The program must output

  • (a) absolute number and percentage of lost datagrams and
  • (b) absolute number and percentage of duplicated datagrams.
  • (c) absolute number of reordered packets

It is acceptable if your estimate cannot distinguish between losing a single request, losing a single response, or losing both a request and a response.

Use your loss estimator to demonstrate:

  • Datagram loss on a local connection on a single machine (i.e., no physical net).

  • Datagram loss on Wifi.

  • Datagram loss on ethernet.

  • Datagram loss on the Internet (i.e., transmitting across multiple physical nets).

  • Indicate for each of these four cases the parameters (a-c above) you used to elicit the loss and the observed lossage (i-ii above).

  • Explain where and why you expect the loss to be happening.

  • Submit a single java source Estimator.java and a .txt file briefly summarising your findings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions