Sending binary data with Indy through TCP\IP, how?

Posted by Wodzu on Stack Overflow See other posts from Stack Overflow or by Wodzu
Published on 2010-06-02T08:52:24Z Indexed on 2010/06/02 8:53 UTC
Read the original article Hit count: 543

Filed under:
|
|
|

Hello.

How to send a binary data with Indy components? Which of them is most suitable for this task? I've tried to use TIdTcpClient but it allows only to send strings.

I've found one reponce for that problem here but I don't get it. It says about method Write(TIdBytes), but the answer is not clear for me. Does he meant Write to some instance of TIdBytes, and how to connect that instance with TIdTcpClient?

Thanks for any help.

© Stack Overflow or respective owner

Related posts about delphi

Related posts about tcpip