[twsocket] Refusing client connection

2008-05-09 Thread Clément Doss
Hi, I built a server program, and a few clients. Each client has a specific scope and uses some of the server features. On of the client software has the ability to restart the server. That's where the problem begins. While the server is shutting down, I must broadcast a shutdown to all

[twsocket] Notifying clients that TWSocketThrdServer is shutting down

2008-05-05 Thread Clément Doss
Hi, I'm working on a project (Delphi 7, and ICS V5). I built a server using TWSocketThrdServer and the clients are derived from TWSocketThrdClient. Here is the code: TTaskClientTCP = Class( TWSocketThrdClient ) public Buffer : String; ConnectTime : TDateTime; end;

Re: [twsocket] Newbie question : Working with Long strings

2007-09-26 Thread Clément Doss
Hello Wilfried, Thanks for helping me! Hello Clément, I searched some examples, but most of them use LineMode and LineLimit. I'm afraid that's not an option. Wy is that not an option ? What is the problem with it ? Just terminate your data with a charcter that cannot be in the

[twsocket] Newbie question : Working with Long strings

2007-09-25 Thread Clément Doss
Hi, I am using D7 and ICS v5 on a Server / Client project. The client can send something like : 100 REQUEST HELP {somecommand} and the server can answer with a small text, or a large one. In my example, there's a 104 kbytes file. Not very large, but large enough to trigger several