I would like to get all data from one tcp connection, and send it to another tcp connection.
I'm using indy - and so the connections I talk of are TIdTCPServerConnections.
I've tried the following in the onExecute event:
procedure TForm1.serverExecute(AThread: TIdPeerThread);
var temp: char;
if temp <> null then begin
But this is very slow.
1. Is there a faster way of doing this?
2. Is there a way of copying chunks for data and sending it to the other connection? (ie. not sending char by char)
Thanks in advance,