Project 1 - Peer-to-peer and interface protocols using C
1.0
A half-duplex layered communication system.
|
src | |
client.c | Used to test layer.h |
layer.h | Global header file for all layers, containging all necessary libraries and defining global preprocessor directives such as the chunk size |
layer1.c | Layer 1 maintains byte ordering such that the receiver receives the first byte sent before receiving the second byte, etc |
layer2.c | Layer 2 provides the transmission and receipt of a chunk of data |
layer3.c | Layer 3 provides the capability to send and receive messages, where a message is defined as any sequence of bytes |
layer4.c | Layer 4 adds simple error detection to layer 4 services |
layer5.c | Layer 5 provides higher application layers with a mechanism for sending and receiving a simple C struct |
server.c | Server Side used to test layer.h |