Re: [twsocket] Sending with SendStr loses packets

2006-06-14 Thread Francois Piette
Not sure I understand well. Seems you are sending many strings but you receive in only one. Is it correct ? > li_rec:= Receive (@Buffer, SizeOf(Buffer)); You have to check for li_rec > 0 before handling anything. Another point: Be sure to avoid Application.ProcessMessages (or any other messag

Re: [twsocket] Using TFTP Client on Windows 98

2006-06-14 Thread Arno Garrels
Markus Günther wrote: > Hello i have a small project with a FTPClient (TFTPClient), if i run > the > project on windows XP the Programm runs. If i using windows 98 i get > the > folloging error: Turn off Range Checking in the Compiler Options. > Can i use the ICS componentsuite on windows 98.

[twsocket] Sending with SendStr loses packets

2006-06-14 Thread Thomasius, Michael
Hallo, I am using the ICS now for a long time, but there is one problem which I wasn't able to solve. Now I hope there is somebody outside, who can give me "illumination" ;-). I try to explain this very detailled, sorry for the large mail. I send many messages via SendStr. They can be very large

[twsocket] Using TFTP Client on Windows 98

2006-06-14 Thread Markus Günther
Hello i have a small project with a FTPClient (TFTPClient), if i run the project on windows XP the Programm runs. If i using windows 98 i get the folloging error: Delphi exception, type ERangeError, message: Fehler bei Bereichsprüfung Exception code: 250477278 Exception flags: 3 Number of para

Re: [twsocket] ICS threaded server and load balancing

2006-06-14 Thread Primož Gabrijelčič
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Francois Piette > > This si not a winsock or TCP/IP component issue. It is an OS issue. I > don't know Windows has an API to force a thread to run on a given CPU. SetThreadAffinityMask > You have an API to know the number of proc