I found a huge clue to this.

Not all of the packet gets read at once via

channelRead(ChannelHandlerContext ctx, Object msg)
{
ByteBuf in = (ByteBuf) msg;
try
{
String s1;
S1=in.toString(io.netty.util.CharsetUtil.US_ASCII);
}

I now can read a whole packet.
The problem is that I identify users by cookies in the packet.
So I'm not sure how to figure out how to construct a long string from two 
different packets(? Sections of message)

I might have to rely on IPaddress to id a user constructing a long string, but 
there might be errors with two players behind a router, right?

-- 
You received this message because you are subscribed to the Google Groups 
"Netty discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netty/95739ccd-bd07-4839-802d-c31cf337141d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to