StartPingCheck: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
** The recipient is expected to respond with [[CompletePingCheck]] and return this PingID back to the source. | ** The recipient is expected to respond with [[CompletePingCheck]] and return this PingID back to the source. | ||
* OldestUnacked is simply the sequence number (see [[Packet Layout]]) of the most recent message sent by the source (excluding this packet), regardless of whether that message was sent reliably. | * OldestUnacked is simply the sequence number (see [[Packet Layout]]) of the most recent message sent by the source (excluding this packet), regardless of whether that message was sent reliably. | ||
For example, the following packet (hex data) is the 88th ping, with the last unacked message being sequence number 1364. | |||
<code>00 00 00 05 55 00 01 58 54 05 00 00</code> | |||
[[Category:Common Messages]] | [[Category:Common Messages]] | ||
[[Category:Messages]] | [[Category:Messages]] |
Revision as of 16:11, 11 September 2024
Message Layout
{ StartPingCheck High NotTrusted Unencoded { PingID Single { PingID U8 } { OldestUnacked U32 } } }
Usage and Notes
- Used to measure circuit ping times.
- PingID is increased by 1 each time StartPingCheck is sent by the source.
- The recipient is expected to respond with CompletePingCheck and return this PingID back to the source.
- OldestUnacked is simply the sequence number (see Packet Layout) of the most recent message sent by the source (excluding this packet), regardless of whether that message was sent reliably.
For example, the following packet (hex data) is the 88th ping, with the last unacked message being sequence number 1364.
00 00 00 05 55 00 01 58 54 05 00 00