FreeCalypso > hg > freecalypso-tools
diff rvinterf/include/localsock.h @ 958:ca6e969be6ee
rvinterf suite: raise MAX_PKT_FROM_TARGET to 1600
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 08 Jun 2023 02:47:48 +0000 |
parents | e7502631a0f9 |
children |
line wrap: on
line diff
--- a/rvinterf/include/localsock.h Thu Jun 08 00:40:12 2023 +0000 +++ b/rvinterf/include/localsock.h Thu Jun 08 02:47:48 2023 +0000 @@ -7,10 +7,11 @@ * We use the same trick that is used for DNS over TCP: every message in each * direction is preceded by a 2-byte length. This length is sent MSB first * just like in DNS over TCP. The limit on the size of these messages - * (for sizing buffers etc) is: + * (for sizing buffers etc) needs to be the larger of MAX_PKT_TO_TARGET and + * MAX_PKT_FROM_TARGET plus 1, and currently equals: */ -#define LOCALSOCK_MAX_MSG 1024 +#define LOCALSOCK_MAX_MSG 1601 /* * Each message in the client->rvinterf direction (can be seen as command)