Re: [twsocket] Need help with HTTP

2006-09-02 Thread Francois PIETTE
The error I get is it sometimes shuts down before all the data is actually pumped. Your code fragment is difficult to understand. There are to much noise because of features in your program. You'd better build a simplified code. Anyway, if this can help you, I remind you that OnDataSrnt event

Re: [twsocket] Handling redirects

2006-09-02 Thread Francois PIETTE
PS: I will gladly pay a few dollars for a good help file :) I would prefer you help writing the help. There is a project at http://wiki.overbyte.be. We need people to write as much as they can. If you don't know the component, no problem: you can take the source code and simply create all

Re: [twsocket] FTP resuming transfers

2006-09-02 Thread Francois PIETTE
I don't see any problem truncating your file before resuming the transfert. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Dan [EMAIL PROTECTED] To: 'ICS support mailing'

Re: [twsocket] Need help with HTTP

2006-09-02 Thread Fastream Technologies
Again my private email spam blocked.. :( Anyway, thanks for the reply. Will look at it later as my brain got fragmented... Best Regards, Gorkem Ates - Original Message - From: Francois PIETTE [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Saturday, September 02,

Re: [twsocket] Need help with HTTP

2006-09-02 Thread Fastream Technologies
Hello, I have debugged the code to this point: { 26/11/2003: next 2 lines commented out to allow receiving data outside } { of any request (server push) } {if FState httpWaitingHeader then Exit; }{ Should never occur ! } while

[twsocket] THTTPServer compiled by FPC on Linux

2006-09-02 Thread Kris Leech
Hello, I am using Free Pascal Compiler (Lazarus IDE) and am having trouble with the compiling anything using THTTPServer on Linux platform, specifically Im using Fedora 5, but I think it is a generic linux problem since the error is can't find Windows unit. I'm guessing this is a unit specific

Re: [twsocket] THTTPServer compiled by FPC on Linux

2006-09-02 Thread Francois PIETTE
There is a ICS-Kylix version available (see website). Not all components are there are development is more or less in standby. ICS for Windows make use of Winsock asynchronous mode and Windows messages none are available on Linux. ICS for Linux replace built in asynchronous operation by thread

[twsocket] TCP question

2006-09-02 Thread Markus Humm
Hello, if a client on a LAN sends a packet with e.g. 512 Bytes and TCP splits it up internaly to e.g. 4x128 Bytes will the receiver get 4x the OnDataAvailable event, or 1x with the whole 512 Byte? So needs the sender to have a larger buffer to be able to concatenate such packets before he can

Re: [twsocket] TCP question

2006-09-02 Thread Francois PIETTE
if a client on a LAN sends a packet with e.g. 512 Bytes and TCP splits it up internaly to e.g. 4x128 Bytes will the receiver get 4x the OnDataAvailable event, or 1x with the whole 512 Byte? You can't predict. The only thing which is sure is that you'll receive all data in correct order.

Re: [twsocket] Need help with HTTP

2006-09-02 Thread Fastream Technologies
Hello, First of all, I would like to thank Ronny for his kind words on private email. (He finds my messages helpful! :) ). After a week of bug hunting I found the problem: I no longer call Abort() if the existing connection's IP/port is different than target's--I just let the component manage