ipop-project/groupvpn — pull request #1 by kyuhojeong (2013-10-25 04:26:38+00:00)
Title: Now it can start ipop-tincan process with itself. Also, timeout is added...

Two things are changed.
1. We used to run ipop-tincan separately. From now with "-t" option, we can start ipop-tincan within controller. Note that the ipop-tincan binary file should be in the same directory with controller.
2. Time out is added between ipop-tincan and controller interface. When certain time exceeds (currently 60) without any correpondence, controller teminates with error message. One of shortcome of it, since we start UDP server as a separate thread, the code does not seem extremely easy as before, which only have a while-true loop and bunch of procedures.

These two changes will be applied on socialvpn controller after this request accepted.