Re: [twsocket] How do i Send Recive Client list using Twsocketserver and Twsocket?

2016-03-08 Thread François Piette
Hello, > i converted the indy client and server To TWsocket and Twsocket server and here is the code of server after convert Instead of publishing a lot of some competing socket component that no one will read, please ask specific question about ICS and TWSocket; Don't forget to look in the

Re: [twsocket] How do i Send Recive Client list using Twsocketserver and Twsocket?

2016-03-08 Thread François Piette
> ics dont have any sample on how to send receive memory stream i no this is nothing to do with indy i thought i can use ics in same way TWSocket has a Send method which you can use to send any data providing a pointer and a count. This is perfect for sending a TMemoryStream:

Re: [twsocket] How do i Send Recive Client list using Twsocketserver and Twsocket?

2016-03-08 Thread Angus Robertson - Magenta Systems Ltd
> 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,

Re: [twsocket] How do i Send Recive Client list using Twsocketserver and Twsocket?

2016-03-08 Thread matrin loanel
i spend days to try to figure out how to send stream with commands in ics , i used sendstr to send texted commands i thought i have to use Send to send memory stream but how to receive that memory stream if i already used receivestr it wont receive the memory stream with receive at the same time