Introduction

I created an overlay network that connects machines that replicate common content in this project. A simple link-state routing protocol for the network is implemented and we could then use the obtained distance metric to improve our transport efficiency.

Features

Functions

Major Designs

Network Detection and Link-state Broadcast are designed and implemented to complete the functions mentioned above. Both protocols are based on UDP communication.

Neighbor Detection

To achieve Neighbor Detection, the Keepalive package is used to inform the online state of the node. Keepalive package includes the following information: