[ENet-discuss] Removing Channels and Reliable Ordering

Jim Purbrick Jpurbrick at climax.co.uk
Mon Nov 17 02:10:55 PST 2003


Hi All,

First of all, thanks for ENet! It does 90% of what I want and has been
really easy to integrate with the system I'm working on.

The first major modification I'm trying to make to ENet is to remove
channels and reliable ordering. I'm using the sufficient causal ording
mechanisms used on PARADE and MASSIVE-3 to avoid stalling on missing
reliable messages, so don't need multiple channels and don't want any
reliable message stalling.

I've changed the channel array in ENetPeer to be a single channel by value
and have trivially replaced the code that finds the correct channel in a
peer. However, I've noticed that the peer itself also contains sequence
number variables that are used when a special ChannelID of 0xFF is
specified. Can anyone shed some light on what is happening here? Are these
variables redundant when no channels are used? What are they used for? Am I
going to still need a special ChannelID flag in the data structures even
when the channels are removed?

The other question I have is how to go about removing the stalling of
reliable messages. I'd like all messages to be delivered to the application
as soon as they have been re-assembled.

Thanks for your help and thanks for ENet!

Cheers,

Jim.


More information about the ENet-discuss mailing list