Re: [twsocket] Making TFtpServer MT: the proper way

2005-10-24 Thread Fastream Technologies
2005 11:55 AM Subject: Re: [twsocket] Making TFtpServer MT: the proper way > IOW, what is the proper way to assign a worker thread to a Ftp Client > instance? > > Best Regards, > > SZ > > - Original Message - > From: "Fastream Technologies" <[EMAIL P

Re: [twsocket] Making TFtpServer MT: the proper way

2005-10-24 Thread Fastream Technologies
IOW, what is the proper way to assign a worker thread to a Ftp Client instance? Best Regards, SZ - Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Monday, October 24, 2005 11:13 AM Subject: [twsocket]

[twsocket] Making TFtpServer MT: the proper way

2005-10-24 Thread Fastream Technologies
Hello, I want to make our async FTP server, one thread-per CPU MT design. We assign threads to instances in OnClientConnect, and I have the following code: void __fastcall ftpServerThread::FtpServerClientConnect( TObject *Sender, TFtpCtrlSocket *Client, WORD AError) { releaseCri