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