Sign In Register

How can we help you today?

Start a new topic
Answered

Question about UNRELIABLE_SEQUENCED deliveryIntent

Hello,


I'm wondering how UNRELIABLE_SEQUENCED is implemented? Does using it adds any overhead on packet size over UNRELIABLE?


Also, I'd appreciate there being more technical information in the api documentation.


Best wishes,
Dario Zubovic


Best Answer
Hey Dario,

UNRELIABLE_SEQUENCED does add a small overhead of 2bytes (int32) to the packet.

The advantage of using a sequenced packet is that the int included will order the packet (kind-of as if it were sent using TCP).
Any packets that arrive out of order will be dropped.

So, an example of where this is useful might be in a racing game where you dont have to update the game if an older packet came in after a newer one.
in this case you would want the old packet to be ignored, if a newer update came in.

Does that help?
Sean

1 Comment

Answer
Hey Dario,

UNRELIABLE_SEQUENCED does add a small overhead of 2bytes (int32) to the packet.

The advantage of using a sequenced packet is that the int included will order the packet (kind-of as if it were sent using TCP).
Any packets that arrive out of order will be dropped.

So, an example of where this is useful might be in a racing game where you dont have to update the game if an older packet came in after a newer one.
in this case you would want the old packet to be ignored, if a newer update came in.

Does that help?
Sean

Login to post a comment