Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fracture91/overlay
https://github.com/fracture91/overlay
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/fracture91/overlay
- Owner: fracture91
- Created: 2011-12-02T00:29:31.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-12-09T03:52:34.000Z (about 13 years ago)
- Last Synced: 2024-10-21T04:53:14.706Z (2 months ago)
- Language: C++
- Homepage:
- Size: 105 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.txt
Awesome Lists containing this project
README
Author: Eric Finn, Andrew Hurle
Date: 12/8/2011
Version: 1
Project ID: 3
CS Class: CS 3516
Programming Language: C++
OS/Hardware dependencies: GNU/Linux, network interface
Problem Description: Create a program that sends a file across an overlay networkProgram Assumptions and Restrictions:
File size must not be a multiple of 1000 bytes
Config file must be valid
Routers and end hosts must be running to transmit filesInterfaces: Command line interface
Implementation Details:
Hosts and routers use busy waiting to wait for packets
Maximum payload length for an individual packet is 1000, not including overlay headers
How to build the program: makeResults:
In this example, the overlay network was configured to intentionally drop a packet.
---Sending host---
> ./overlay
File transmitted.
Size: 3883 bytes.
Packets trasmitted: 4---Receiving host---
> ./overlay
Missing packet ID: 2
File received:
Length: 2883
Packets received: 3When not configured to drop a packet:
---Receiving Host---
> ./overlay
File received:
Length: 3883
Packets received: 4References:
cplusplus.com - STL documentation
linux.die.net - Linux function documentation
wikipedia.org - IPv4 and UDP header documentation