Summary:
This program acts as a router in a network, employing a routing table which is constantly updated and created using Dijkstra's shortest path algorithm, with which data could be sent over a network.
Sources Used:
Beej's Guide to Network Programming- http://beej.us/guide/bgnet/html/single/bgnet.html
GeeksforGeeks- https://www.geeksforgeeks.org/greedy-algorithms-set-6-dijkstras-shortest-path-algorithm
Stack Overflow