Skip to content

infinite timer for Hello & TLU time interval #233

Discussion options

You must be logged in to vote

But, when i have to stop to send more messages and end the program?

You can use finalize() method to cancel timers. However, it would not be your problem.
The reason of infinite test is probably routing loop.
A incorrect implementation of the routing protocol will cause packets to keep traveling through router cycles, increasing simulation time exponentially.
To avoid loops, you need to make right decisions about when to forward packets.

Without implementing the Hello&TLU time interval multicast, I got passed all testcases in testpwosf.cpp by mulitcasting every LSU call immediately and no hello multicast more than twice. In this case, can i get full score by just passing all test cases?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by xhaktm3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants