On 6/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi, I wonder if it is guaranteed that 'incoming' buffers have a capacity of SocketSessionConfig.getReceiveBufferSize(). I mean that if I change this value, buffer size will be changed accordingly.
Yes. It is always guarenteed that the buffer MINA allocates is equal to or greater than the socket read buffer size you configured. But the size of the allocated buffer is not always equal to the socket read buffer size due to the sideeffect of the internal buffer pooling mechanism. HTH, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP key fingerprints: * E167 E6AF E73A CBCE EE41 4A29 544D DE48 FE95 4E7E * B693 628E 6047 4F8F CFA4 455E 1C62 A7DC 0255 ECA6
