[API] Multi-destinations bundle and flags
Hi everyone,
Looking through the API http://trac.ibr.cs.tu-bs.de/project-cm-2012-ibrdtn/wiki/docs/api documentation https://www.ibr.cs.tu-bs.de/projects/ibr-dtn/apidoc/0.12/api.pdf I could not find how to send a bundle to 2+ destinations. Should I just typed the following during my bundle put plain or will it overwrite the first one? [..] Destination: dtn://dest1/01 Destination: dtn://all/groupEID-02 [..]
What about the flag if one destination is a singleton and the other is a group EID?
Sorry for asking "should I do this" instead of trying it, so far I just did not had the time to test it but it's planned ;) and my question about the flags remains anyway.
Have a nice day, and thanks again for all your work!
Best regards, --- Auzias Maël auzias.net https://www.auzias.net/en/ - vcard https://www.auzias.net/auzias.vcf - thesis http://people.irisa.fr/Mael.Auzias/ *GSM: 0033 695 118 774*
Hi everyone,
I tried several ways to send a bundle to multiple destination and I dig into the source code of the daemon and I couldn't find where/how multi-destinations bundles are managed.
Is this feature implemented? Is there BP implementation with this feature?
As for my flag-question: the RFC says "4 -- Destination endpoint is a singleton.", so it must be cleared if destination*s* endpoint*s are* singleton*s* as the statement of the RFC is then false in the case of multi-destinations bundle.
Have a nice day!
Best regards, --- Auzias Maël auzias.net https://www.auzias.net/en/ - vcard https://www.auzias.net/auzias.vcf - thesis http://people.irisa.fr/Mael.Auzias/ *GSM: 0033 695 118 774*
On Wed, Sep 30, 2015 at 11:42 AM, Maël Auzias ibrdtn@auzias.net wrote:
Hi everyone,
Looking through the API http://trac.ibr.cs.tu-bs.de/project-cm-2012-ibrdtn/wiki/docs/api documentation https://www.ibr.cs.tu-bs.de/projects/ibr-dtn/apidoc/0.12/api.pdf I could not find how to send a bundle to 2+ destinations. Should I just typed the following during my bundle put plain or will it overwrite the first one? [..] Destination: dtn://dest1/01 Destination: dtn://all/groupEID-02 [..]
What about the flag if one destination is a singleton and the other is a group EID?
Sorry for asking "should I do this" instead of trying it, so far I just did not had the time to test it but it's planned ;) and my question about the flags remains anyway.
Have a nice day, and thanks again for all your work!
Best regards,
Auzias Maël auzias.net https://www.auzias.net/en/ - vcard https://www.auzias.net/auzias.vcf - thesis http://people.irisa.fr/Mael.Auzias/ *GSM: 0033 695 118 774*
Hello Maël,
as specified in the RFC 5050, bundles are sent to a singleton endpoint identified by a singleton endpoint identifier or multiple endpoints with the same non-singleton endpoint identifier. It is not possible to address a single bundle to multiple endpoint identifiers. Thus, there exists only one single field for the endpoint identifier. The flag 4 also refers to the destination endpoint identifier. Not multiple of them.
Kind regards, Johannes
Am 05.10.2015 um 15:31 schrieb Maël Auzias:
Hi everyone,
I tried several ways to send a bundle to multiple destination and I dig into the source code of the daemon and I couldn't find where/how multi-destinations bundles are managed.
Is this feature implemented? Is there BP implementation with this feature?
As for my flag-question: the RFC says "4 -- Destination endpoint is a singleton.", so it must be cleared if destination*s* endpoint*s are* singleton*s* as the statement of the RFC is then false in the case of multi-destinations bundle.
Have a nice day!
participants (2)
-
Johannes Morgenroth
-
Maël Auzias