Question: Bundle version and --workdir option
To whom it might concern,
I have two little questions and hope you can help me.
My first question is about bundle versions. If I start the daemon with -d 10 and check the messages I found
DEBUG.10 BinaryStreamClient: Bundle version differ from ours. DEBUG.10 BinaryStreamClient: unexpected API error! Conditional has been unblocked
in the case of receiving bundles from dtnsend or the last ping of a series of pings.
I checked the version in Serializer.cpp and saw that it is, despite of the last bundle, always 6 (as it is defined in dtn::data::BUNDLE_VERSION) and at the last bundle only 0. The stream _stream.get(version); isn't reading any version from the bundle, the version stays 0.
Is it intended to be so? If yes why is it the way it is?
My second question refers to the option -w|--workdir in the function dtninbox and dtnoutbox. I don't really understand how this is intended to work. Can someone explain me what I can accomplish with this feature?
Thank you in advance.
Best regards,
Kevin Baron
participants (1)
-
Kevin Baron