Originally Posted by Codeplug >> threadclient.c Destructors? But yeah, brewbuck is right. Cancellation cleanup handlers are the only thing you can count on. Last sentence of chapter 9 in the PDF I linked above: >> Avoid cancellation if at all possible. gg The name threadclient is just a name that TCP client with thread. Not a destructor. Sorry for confusing...