<div dir="ltr"><div><div><div><div><div>Hi Junxiao<br><br></div>Thank you for your reply and specially for the details.<br><br>Sorry for this, but it seems I unable to find  "nfdc"  on my mobile devices. I am using JuiceSSH as you recommended and also the "adb shell" with root privileges.  Actually, I built the " .apk" file based on the below repository, and then manually installed the ".apk"  (only) to each mobile (through adb).<br><br></div></div><a href="https://github.com/named-data-mobile/NFD-android" target="_blank">https://github.com/named-data-mobile/NFD-android</a><br><br>I am starting to think that I missed some step during my built/installation as there is not "nfdc" in the directory. Could you please point me how can I get/install "nfdc" in Android? or perhaps jndn or jndn-management can help to set multicast strategy on Android?<br></div><div><br></div><div>Appreciate for your comments.<br></div><div><br>Regards<br></div></div>Percy<br><div><div><div><br><br><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 17 November 2015 at 16:05, Junxiao Shi <span dir="ltr"><<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US"><div><span class=""><p class="MsoNormal">Hi Percy<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">By specifying an IP address on the consumer’s Face constructor, you are causing the consumer to connect directly to the NFD on producer node over TCP.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">In order to achieve multicast,<u></u><u></u></p><p><u></u><span>1.<span style="font:7.0pt "Times New Roman"">       </span></span><u></u>Run NFD on all three nodes.<u></u><u></u></p></span><p><u></u><span>2.<span style="font:7.0pt "Times New Roman"">       </span></span><u></u>Perform prefix registration on the NFD on consumer node `nfdc register /producer udp://<a href="http://192.168.0.2" target="_blank"><font color="red"><b>MailScanner warning: numerical links are often malicious:</b></font> 192.168.0.2</a>`. Substitute /producer with producer’s prefix, and substitute 192.168.0.2 with the IP address of producer node, and repeat for each producer. You may need a bash environment on Android, and I recommend JuiceSSH.<u></u><u></u></p><p><u></u><span>3.<span style="font:7.0pt "Times New Roman"">       </span></span><u></u>Set multicast strategy on the NFD on consumer node `nfdc set-strategy /producer /localhost/nfd/strategy/multicast`. Substitute /producer with producer’s prefix.</p><p><u></u><span>4.<span style="font:7.0pt "Times New Roman"">       </span></span><u></u>Use the default Face constructor in consumer, so that it connects to local NFD. Typically, this would be a local TCP socket on Android.</p><p><u></u><span>5.<span style="font:7.0pt "Times New Roman"">       </span></span><u></u>Express the Interest. If you are observing network traffic, you’ll see the consumer transmits it twice over UDP unicast toward every producer. This is multicast at NDN layer.<u></u><u></u></p><span class=""><p><u></u> <u></u></p><p>Yours, Junxiao</p><p><u></u> <u></u></p><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal" style="border:none;padding:0in"><br><b>From: </b>Percy Perez Aruni<br><b>Sent: </b>Monday, November 16, 2015 16:17<br><b>To: </b><a href="mailto:nfd-dev@lists.cs.ucla.edu" target="_blank">nfd-dev@lists.cs.ucla.edu</a><br><b>Subject: </b>[Nfd-dev] NFD-Android multicast</p></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u> <u></u></span></p></span><div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">Hi  NFD-Dev team.</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u><u></u></span></p></div><div><div class="h5"><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">I am running NFD-Android in three smartphones (Android v.4.x), one as consumer and the other two as  producers.  At the moment I am hard coding the IP address of the two producers in the consumer side as following: <br><br>       Face consumerFace = new Face("producerIpAddress");<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"> <u></u><u></u></span></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">Could I ask  how my consumer could  multicast an interest to the other two or more producers? <u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">I would appreciate your comments.<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><br>Regards<u></u><u></u></span></p></div></div></div></div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">Percy  <u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div></blockquote></div><br></div>