I have a little app which is supposed to feed an image to a browser.
The image is on disk, the browser connects through a TServerSocket.

<img src="http://150.1.1.43:16384">

MyStream := TFileStream.Create(FileName, 0) ;
Socket.SendStream(MyStream) ;

This all works fine until the image gets to a certain size.
The Image on disk is fine, the streamed image gets truncated after about
10240 bytes.

I have tried to break the stream up and send it in small chunks, but then
the browser seems to get nothing.

Any ideas how I am supposed to be doing this?

Dave.
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to