Implementation of distance-vector routing algorithm using C sockets. Start up a bunch of router instances and they'll learn the least-cost path to one another by sending update messages to neighboring routers using the iterative, asynchronous and distributed algorithm. Use the changelink Python script to modify the link cost between two routers. See README or COMMENTS file for more information. Disclaimer: There are a couple of update cases which were omitted in this assignment; there is an open issue describing them in detail.
I wonder if I need to set some flag indicating that I updated my routing table. If I didn't update my routing table then I don't need to send it to everyone.
Even though running two routers simultaneously should allow them to interact, it is currently not working. recv() is returning 0, indicating that recv() failed.