Use writeAndFlush() to send the packet immediately.

On Tue, Jul 26, 2016 at 12:39 AM <[email protected]> wrote:

>
> Background: I'm toying with making a multiplayer game.  I already have
> registration and login working.
>
> I just found that if I send several .writes at the same time, they come as
> a single packet on receive instead of multiple packets.
>
> I know a couple ways to resolve this, but I was just wondering if there is
> some way to seperate the packets aside from time delaying them.
>
> --
> 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/4c6546ea-5e73-4b63-ba01-c9292d34e542%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAOYdKdiGumjtymJBm%3DYydS7Lqx_NtwNSwiruqFjgWWWrGGc5Kw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to