﻿< THINGS TO REMEMBER >
1. The threads in the managed thread pool are background threads. That is, their IsBackground properties are true. This means that a ThreadPool thread will not keep an application running after all foreground threads have exited. (background threads are not treated as a main thread and the program shall not keep running when those are still alive. This means that even if there are many background threads in a thread pool, it does not affect the stability(of clean up process).
2. We need to suppose that it is possible that the actual sent data size can be smaller than the expected sent data size since the network problems can occur. The program need ensure that the resending procedure works fine.
3. The Connexion class, Disconnect function does not unregister itself from the Connexion Manager.
4. queue capacity only means the preserved space from the starting time. (not the maximum capacity of the queue.)