Skip to content

PendingTx ​

Struct

Source: NetSession.h

Description ​

One reliable frame waiting for its ACK.

The whole encoded frame is stored, not the application payload, so a retry is byte-identical to the first transmission and never re-encodes against a sequence that has already advanced. sent separates an entry the transport has never accepted from one that is awaiting an ACK: an unsent entry is attempted on every update and cannot consume the retry budget, because it has nothing to retry yet.

Properties ​

NameTypeDescription
sequenceuint32_tSequence carried by @ref frame.
sentAtMsuint32_tSession time of the last transmission.
frameLengthuint16_tValid bytes in @ref frame.
retriesuint8_tRetransmissions already performed.
peerIduint8_tDestination slot index.
sentbooltrue once the transport accepted the frame.
frameuint8_tEncoded frame copy.

Released under the MIT License.