Important note: Before starting to do the coding for this assignment, you need to
read and fully understand the Distance-Vector Routing Algorithm (Section 4.5.2 of the course textbook, i.e. Computer Networking: A Top-Down Approach. 5th Edition). Also pay special attention to the problem of routing loop (a.k.a. count-to-infinity problem) in the routing topologies, and to how the poisoned reverse technique solves this problem,
read through this manual, and
read the provided source codes to understand how communication takes place between nodes.