Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 441 Bytes

File metadata and controls

8 lines (6 loc) · 441 Bytes

Router

Program simulating distance vector protocol. On entry, it receives n - number of ip_addresses with which the router is connected. Then n entrances in the formula for example "125.12.13.1/23 distance 3".

Program is divided into three parts - network.c with main() - handle network communication with other routers using UDP, check.c checks for correctness and conversion.c convert data and implement logic.

Wiktor Pilarczyk 308533