You have to better define what you mean by "stream". For example, I don't know if you think about a TStream component or some kind of audio or video "streaming". Define your requirement a little bit more if you want to be helped. In french we have an expression which says: "help yourself and heaven will help you" if you see what I mean.
-- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] http://www.overbyte.be ----- Original Message ----- From: "Persian Patient" <[EMAIL PROTECTED]> To: "Mailing List" <[email protected]> Sent: Saturday, December 17, 2005 11:59 AM Subject: [twsocket] How to send an Image over the network using wSocket > Hello , > > I have to use ICS to send some images to another computer over the > network . > now I have to ask how can I send stream using wSocket from a side and how > can I receive stream on another side ? > > please take a look at this sample code , I am using this technic to make > stream of an image : > > var > xStream : TMemoryStream; > xJpeg : TJpegImage; > begin > xStream:=TMemoryStream.Create; > xJpeg:=TJpegImage.Create; > xJpeg.LoadFromFile('c:\x.jpg'); > xJpeg.CompressionQuality:=30; > xJpeg.SaveToStream(xStream); > .. > .. > .. > end; > > I am beginer to ICS , please guide me to send this image ( Converted to > stream ) over the network step by step . > > Best Regards, > PersianPatient . > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > -- > 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
