juda/animal — pull request #7 by abcdabcd987 (2014-11-21 10:04:48+00:00)
Title: Bug fix & Refactor & Client modification

1. Move timeout check from `main.py` to `server.receive` and `server.send`.
2. Correct the typo from `recieve` to `receive`.
3. Use a different method to make sure connection timeout check is correct.
4. Re-format the log.
5. Use another thread to communicate with `p2dv.in`
6. In the client, set a default value `12345` of `arg[2]`.