There is two issue,
- I couldn't decide how to clean old address that passed counter, cleaning with a timer thread or when counter passed limit .
- When address is a tcp connection , callback cant catch state. how to solve this problem?
After reviews , i will add doc for functions.