Transaction IDs

12 views
Skip to first unread message

Simon Menke

unread,
Feb 3, 2010, 6:01:37 AM2/3/10
to BERT-RPC
It would be nice if each BERP also had a transaction id so that
multiple transactions can be made simultaneously over a single
connection.

I would propose a format like this:

<<BodyLength:32/integer, TransactionID:32/integer, Body/binary>>


Or maybe a 16 bit uint is sufficient as the Transaction ID would be
reset to 0 when it reaches UINT16_MAX or UINT32_MAX.

<<BodyLength:32/integer, TransactionID:16/integer, Body/binary>>


- Simon Menke

Reply all
Reply to author
Forward
0 new messages