[ENet-discuss] Mixing Reliable and Unreliable and Packet Ordering

Nicholas J Ingrassellino nick at lifebloodnetworks.com
Mon Sep 27 10:20:02 PDT 2010


I know I could use different channels to get the result I want but I was 
curious about the expected behavior using a single channel.

Suppose if I had sent 100 unreliable packets, followed by one reliable 
packet, followed by 50 more unreliable packets. In what order should I 
expect them to arrive?

    * Would I first get the 100 unreliable (in any order, if at all),
      followed by the reliable, follows by the 50 unreliable (in any
      order, if at all)?
    * Would I get these 151 packets in any order with only the reliable
      one guaranteed to arrive?

I am also under the impression that the second batch of 50 unreliable 
packets would not start to arrive (if at all) until after the one 
reliable one has arrived?

------------------------------------------------------------------------

Nicholas J Ingrassellino
LifebloodNetworks.com <http://www.lifebloodnetworks.com/> || 
nick at lifebloodnetworks.com <mailto:nick at lifebloodnetworks.com>

"The idea that I can be presented with a problem, set out to logically 
solve it with the tools at hand, and wind up with a program that could 
not be legally used because someone else followed the same logical steps 
some years ago and filed for a patent on it is horrifying."
- John Carmack on software patents

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20100927/118680f5/attachment.html>


More information about the ENet-discuss mailing list