mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-28 17:57:05 +02:00
doc/binary_protocol.md: swap fields "received" and "sent"
In common/message/message.hpp, BaseMessage::read() reads the "sent"
field first and then "received"; same for serialize(). The
protocol documentation has been wrong ever since it was added in
commit 9d7e08b43
This commit is contained in:
parent
7eff45fda7
commit
f721d4eb62
1 changed files with 2 additions and 2 deletions
|
@ -42,10 +42,10 @@ When a client joins a server, the following exchanges happen
|
|||
| type | uint16 | Should be one of the typed message IDs |
|
||||
| id | uint16 | Used in requests to identify the message (not always used) |
|
||||
| refersTo | uint16 | Used in responses to identify which request message ID this is responding to |
|
||||
| received.sec | int32 | The second value of the timestamp when this message was received. Filled in by the receiver. |
|
||||
| received.usec | int32 | The microsecond value of the timestamp when this message was received. Filled in by the receiver. |
|
||||
| sent.sec | int32 | The second value of the timestamp when this message was sent. Filled in by the sender. |
|
||||
| sent.usec | int32 | The microsecond value of the timestamp when this message was sent. Filled in by the sender. |
|
||||
| received.sec | int32 | The second value of the timestamp when this message was received. Filled in by the receiver. |
|
||||
| received.usec | int32 | The microsecond value of the timestamp when this message was received. Filled in by the receiver. |
|
||||
| size | uint32 | Total number of bytes of the following typed message |
|
||||
|
||||
### Codec Header
|
||||
|
|
Loading…
Add table
Reference in a new issue