Hi,<div><br></div><div>Can someone please answer this question, I am getting datagram packets of length upto 1000 bytes but netty is reading atmost 768 bytes from each packet. Although I have set the option</div><div>bootstrap.setOption("receiveBufferSizePredictor", new FixedReceiveBufferSizePredictor(1000)); </div>
<div><br></div><div>but seems like it is not working. Any ideas?</div><div><br></div><div>Ankush<br><br><div class="gmail_quote">On Fri, Aug 6, 2010 at 6:02 PM, christoforever <span dir="ltr"><<a href="mailto:christoforever@gmail.com">christoforever@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
I've been playing around with netty for only a few days so forgive me if my<br>
question sounds noobish or ignorant ... I'm trying to implement a server of<br>
sorts which will receive a variable amount of data ( all of it being over<br>
the standard 1024 byte array size ). I've looked around a bit and nothing<br>
has stuck out at me ... but how can I increase the byte buffer array size of<br>
the ChannelBuffer to accept variable amounts or at the very least a much<br>
larger amount than 1024. Thanks.<br>
<font color="#888888">--<br>
View this message in context: <a href="http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Increasing-the-buffer-size-when-receiving-messages-tp5382383p5382383.html" target="_blank">http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Increasing-the-buffer-size-when-receiving-messages-tp5382383p5382383.html</a><br>
Sent from the Netty User Group mailing list archive at Nabble.com.<br>
_______________________________________________<br>
netty-users mailing list<br>
<a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
</font></blockquote></div><br></div>