[twsocket] Need help with anti-hammering on TFtpServer

2005-05-11 Thread Fastream Technologies
Hello, I have been asked to build a mechanism called anti-hammering for FTP server. It should work like this: If it is enabled, USER a PASS b (either or both one of these are not correct) Wait 2 secs and then re-ask for USER However since ICS is async, I cannot use the Sleep(2000) call not to blo

[twsocket] THTTPCli's TIME_WAIT

2005-05-11 Thread 김영기
Hi I use THttpCli to send real-time request to Apache . I found that remains many TIME_WAIT STAT sockets Is It possible Reuse Socket Port ? What can i do for this ? sorry for poor my english. thanks -- Message: 2 Date: Wed, 11 May 2005 08:11:25 +0200 From: F

Re[2]: [twsocket] Datetime in mail headers

2005-05-11 Thread Wilfried Mestdagh
Hello Piotr, > If you're using US-ASCII, consider using Content-Transfer-Encoding: 7bit. Yes at the moment. But later there will be mails with French and maybe German characters in it. So I assume I need the: 'Content-Transfer-Encoding: quoted-printable' Am I right here ? --- Rgds,

Re: [twsocket] [HELP] FTPServer and building directory event

2005-05-11 Thread Guillaume MAISON
> I would rewrite the ftp server component if I were you. It's not going to > be trivial to alter the way all the paths are done with a /X:/ drive before > any path. > If you rewrite the directory related stuff, it shouldn't be too difficult to > do what you want. I did a similar thing when doing

Re: [twsocket] [HELP] FTPServer and building directory event

2005-05-11 Thread Dan
I would rewrite the ftp server component if I were you. It's not going to be trivial to alter the way all the paths are done with a /X:/ drive before any path. If you rewrite the directory related stuff, it shouldn't be too difficult to do what you want. I did a similar thing when doing a dist

Re: [twsocket] Datetime in mail headers

2005-05-11 Thread Piotr Hellrayzer Dałek
Hello! > Do I need the MIME-Version, Content-Type and Content-Transfer-Encoding > also or can it be left out ? There will be only plain text and never an > attach. AFAIR if you won't put them in header, the default values should be assumed (respectively: 1.0, text/plain; charset="US-ASCII", 7bit)

Re: [twsocket] [HELP] FTPServer and building directory event

2005-05-11 Thread Guillaume MAISON
> This is a very complex task as you will need to create "virtual folders". I > have done it in my program NETFile Server but it took 3 weeks with testing. > Also, if you wish to show directory permissions the UNIX style (like > "drwxr--", that's additional work too. For the rights no. Because thi

Re: [twsocket] [HELP] FTPServer and building directory event

2005-05-11 Thread Fastream Technologies
Hello, This is a very complex task as you will need to create "virtual folders". I have done it in my program NETFile Server but it took 3 weeks with testing. Also, if you wish to show directory permissions the UNIX style (like "drwxr--", that's additional work too. If your project is not a rea

[twsocket] [HELP] FTPServer and building directory event

2005-05-11 Thread Guillaume MAISON
hi everyone, i have a weird problem : i'm building a FTP server and i want to be able to go through every drive the server has. my idea was the following : in the BuildDirectory event, if the directory asked is / (meaning root) i build a fake directory listing with all the existing drives on the

Re: [twsocket] Help with ICS

2005-05-11 Thread Francois Piette
> I use BCB 3.0. > I download and instal latest version of ICS but if I try it I get > error "stack owerflow". It is likely that you have a function that call itself or call a second function that calls the first one. This is an endless loop which is terminated when the stack is overflowed. >