Generally, unless you're working directly from memory, you should always use
either framed or buffered transport. Otherwise, every little byte you need
to read out will go to the OS buffer, which will just crush your
performance.

Additionally, if you are connecting to a nonblocking server (like Java's
TNonblockingServer and THsHaServer), then you *must* use a framed transport,
since this is the only way they can tell when a whole message has been sent.

-Bryan

On Sat, Jan 16, 2010 at 5:03 AM, Anner van Hardenbroek <
[email protected]> wrote:

> Hi,
>
> I've a question about the TFramedTransport and the TBufferedTransport.
> When do you use them?
>
> Thanks.
> - Anner.
>
> --
> Anner van Hardenbroek
> [email protected]
>
>

Reply via email to