Is there any sample code for multi-thread TCP/IP socket application.
If it supports "cancel" operation, it would be best.

I have trouble with exiting multh-thread GUI application. Active object's destructor never return. I like to know the order of kill thread, calling Exit() and calling destructor.