First make this work single threaded, starting with ICS sample program WebServ.
Your image URL must match a dynamic URL intercepted by the server so that 
processing can be done.

Multithreading is probably not needed and can be added later when eveything 
else works OK.

--
[EMAIL PROTECTED]
http://www.overbyte.be

----- Original Message ----- 
From: "Tom York" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Tuesday, August 16, 2005 4:36 PM
Subject: [twsocket] Httpserver and threads


> I am making a small server to display a page of images.  In the getdocument 
> method, I call a procedure passing all of the flags to my procedure 
> "ShowThumb(Sender, Client, Flags)".  What is happening is that the images 
> are being displayed on the page, but they are coming out as garbage 
> characters, randomly truncated images, etc.
> 
> The images stored on disk are good.  I believe I am running into some kind 
> of threading issue.  I read the images off disk, scale them, save the to a 
> stream and pass them to HttpConnection.DocStream to complete the page.
> 
> Any assistance is greatly appreciated.  Thanks 
> 
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to