> ics dont have any sample on how to send receive memory stream 

OverbyteIcsRecv.dpr and OverbyteIcsSender.dpr send data between each
other, to send a stream you simply read part of into a buffer, send
them, when the onDataSent is triggered you send more.

Several ICS components send streams, HTTP, FTP, SMTP, you can look at
their code.

The TMagIpLog component I mentioned has a method SendStream that does
it all for you. 

Mixing streams and commands is much harder, you need to define a
protocol that distinguishes them (as MIME does for email) or use a
separate connection for streams (as FTP does). 

Angus

  


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to