Retrieve local_uri through the socket?
Hi you all.
I would like to know if it is possible to retrieve the local_uri with a command through the socket with the daemon or it is mandatory to read the file?
Best regards, --- Auzias Maël - auzias.net http://www.auzias.net/ PhD candidate http://auzias.net/?p=phd - IRISA Member of the Scientific Council http://auzias.net/Generation14/index-en.html GSM : *0033 695 118 774*
Hello Maël,
you can ask for the local endpoint with the keyword "nodename".
nodename 200 NODENAME dtn://node-a
Additionally, you can query the main endpoint of the registration.
endpoint get 200 ENDPOINT GET dtn://node-a/GgBZGzQHdlxxTknd
Or the list of registered endpoints:
registration list 200 REGISTRATION LIST dtn://node-a/GgBZGzQHdlxxTknd
Kind regards, Johannes Morgenroth
Am 21.04.2015 um 17:04 schrieb Maël Auzias:
Hi you all.
I would like to know if it is possible to retrieve the local_uri with a command through the socket with the daemon or it is mandatory to read the file?
Best regards,
Auzias Maël - auzias.net http://www.auzias.net/ PhD candidate http://auzias.net/?p=phd - IRISA Member of the Scientific Council http://auzias.net/Generation14/index-en.html GSM : *0033 695 118 774*
participants (2)
-
Johannes Morgenroth
-
Maël Auzias