Its a HTTP server I am working on,
On receving GET request on "OnReceive", I call the thread below to send the data and thn suutdown.

AfxBeginThread(MTProcessRequestThread,(LPVOID)wParam);

Basically, its not thread based except this.

Thanks
Anita EUgene