[Nfd-dev] Ndnpeek & ndnpoke

Marzieh Babaeianjelodar babaeim at clarkson.EDU
Mon Mar 6 12:18:17 PST 2017


> On Mar 5, 2017, at 11:23 AM, Marzieh Babaeianjelodar <babaeim at clarkson.edu> wrote:
> 
> I changed it a bit to this last night: The name has changed. I still have don’t get the fact that in manages it says it should return 0 and also why does this print Hello when I specified “Hey".
> 
> babaeim at producer:~$ echo "Hey" | ndnpoke -w 10000 ndn:/example/users/babaeim/file.txt
> 
> babaeim at consumer:~$ ndnpeek -p -v ndn:/example/users/babaeim/file.txt
> INTEREST: /example/users/babaeim/file.txt
> DATA, RTT: 6ms
> Hello
> 
> 
>> On Mar 5, 2017, at 12:20 AM, Marzieh Babaeianjelodar <babaeim at clarkson.edu <mailto:babaeim at clarkson.edu>> wrote:
>> 
>> Ok.
>> 
>> I changed the name to a registered one:
>> 
>> babaeim at consumer:~/ndn-tools/build/bin$ ndnpeek -p ndn:/example
>> 
>> babaeim at producer:~/ndn-tools/build/bin$ echo "Hello" | ndnpoke -w 10000 ndn:/example
>> 
>> The no route problem is fixed but there is no output. 
>> 
>> But in the manages it says:
>> 
>> The
>> program terminates with return code 0 if Data arrives, and with return code 1 when timeout
>> occurs.
>>  
>> 
>>> On Mar 4, 2017, at 11:54 PM, Junxiao Shi <shijunxiao at email.arizona.edu <mailto:shijunxiao at email.arizona.edu>> wrote:
>>> 
>>> Hi Marzieh
>>> 
>>> 1. Consumer and producer need to use same content name. "app" <> "app1".
>>> 2. There must be a route from consumer to producer, which may be added with `nfdc face create udp://producer <udp://producer>; nfdc route add /app udp://producer` <udp://producer`>command (substitute 'producer' with producer machine's IP address)
>>> 
>>> PS: in the future, paste the console logs as text instead of pictures. Text is easier to work with.
>>> 
>>> Yours, Junxiao
>>> 
>>> On Sat, Mar 4, 2017 at 21:50 Marzieh Babaeianjelodar <babaeim at clarkson.edu <mailto:babaeim at clarkson.edu>> wrote:
>>> Hi
>>> 
>>> I was trying to send a packet using ndnpoke and ndnpeek but I get NoRoute and these are my commands:
>>> What is the problem?
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Nfd-dev mailing list
>>> Nfd-dev at lists.cs.ucla.edu <mailto:Nfd-dev at lists.cs.ucla.edu>
>>> http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev <http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev>
>>> <Screen Shot 2017-03-04 at 11.48.22 PM.png>
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20170306/b8ff4e33/attachment.html>


More information about the Nfd-dev mailing list