|Subject:||Indy 9 to Indy 10|
|Posted by:||Roddy Pratt (firstname.lastname@example.org)|
|Date:||Fri, 29 Aug 2008|
I'm trying to convert some simple stuff that uses
TIdTCPClient.ReadBuffer/WriteBuffer/ReadStream/WriteStream from Indy9
to Indy 10.
Here's what I see:
No ReadBuffer/WriteBuffer calls, and no way of emulating them that I
can see without moving my data to be sent into a separate
heap-allocated dynamic array or loops calling Read/WriteChar, neither
of which is going to win prizes for efficiency.
IOHandler has a ReadStream call, but not a WriteStream one, so that's
going to have to go via WriteChar as well...
Anyone have any better ideas?