Skip to content

What is the current behaviour of UDP receiver, when dealing with out-of-order packets? (5.11.x / 5.12.x release) #1283

Answered by FlorianReimold
chengguizi asked this question in Q&A
Discussion options

You must be logged in to vote

For fragmented messages, the current eCAL v5 UDP protocol requires an entire UDP datagram to be transmitted for telling the receiver about the fragmented package. This datagram (called "header" in the current implementation) cannot contain any actual user payload. The payload is transmitted with the next datagrams (called "payload" in the current implementation). And yes, it looks like an out-of-order header would cause the message to be lost. This can be considered to be a bug.

The new implementation that I am working on will:

  • obviously handle out of order datagrams by simply storing them in a map. And yes, it does that for those "header" and the "payload" datagrams
  • properly look at the…

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@rex-schilasky
Comment options

@chengguizi
Comment options

@chengguizi
Comment options

@FlorianReimold
Comment options

Answer selected by chengguizi
@chengguizi
Comment options

@chengguizi
Comment options

@FlorianReimold
Comment options

@chengguizi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants