On Jun 27, 2006, at 1:50 PM, [EMAIL PROTECTED] wrote:
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.I would like to use this to avoid cumulation in my ProtocolDecoder, which should speed things up. I would then set the value to the biggest known incoming message.
unfortunately it does not guarantee that. Setting that value trickles down to Socket.setReceiveBufferSize, the javadocs on that method give some explanation.. but it will most likely do what you suggest.. are you seeing otherwise?
-pete -- [EMAIL PROTECTED] - http://fotap.org/~osi
smime.p7s
Description: S/MIME cryptographic signature
