Hi,
I am currently busy writing C wrapper functions around the public functions from my libBasexCpp library (see https://github.com/BenEngbers/libBasexCpp). In doing so, I discovered an imperfection in that library and an ambiguity in the server protocol. The description of the command protocol states that in the event of an error, the server response consists of {partial result} {error} \01. However, at the bottom of the description of the Query protocol, it is stated that the server response ends with a \01, followed by an error string. In the current implementation, I assumed that all successfully executed requests end with a \00 and that a \01 at the end means an error has occurred. My question is whether this assumption is correct or whether I need to adjust my implementation so that the \01 is followed by the error message?

Ben

Reply via email to