<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<base href="x-msg://205/">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hello,
<div><br>
</div>
<div>Thank you for the respond. Currently I'm trying to develop openWSN application in VoyageOS, i used SunSPOT. I have problem on make this application running in VoyageOS, while I know the same application just run properly in my Ubuntu machine. The application
 actually consist of sender, which is the SunSPOT mote; and the receiver, which is the SunSPOT basestation. </div>
<div><br>
</div>
<div>The sender open broadcast connection to some port (I specify the free port, exp 1501)</div>
<div>// Open up a broadcast connection at the data sink port where the 'on Desktop' portion of this demo is listening</div>
<div>
<div>RadiogramConnection rCon = (RadiogramConnection) Connector.open("<a href="radiogram://broadcast:">radiogram://broadcast:</a>" + DATA_SINK_PORT);</div>
<div>Datagram dg = rCon.newDatagram(rCon.getMaximumLength());</div>
</div>
<div><br>
</div>
<div>And the receiver listen with the same port:</div>
<div>
<div>RadiogramConnection rCon = (RadiogramConnection) Connector.open("<a href="radiogram://:">radiogram://:</a>" + DATA_SINK_PORT);</div>
</div>
<div><br>
</div>
<div>The guys in sunSPOT mentioned (<a href="https://www.sunspotworld.com/forums/viewtopic.php?f=35&t=1701">https://www.sunspotworld.com/forums/viewtopic.php?f=35&t=1701</a>)</div>
<div>"<span class="Apple-style-span" style="line-height: 18px; ">p.s. Some Linux distributions (such as SuSE) do not have multicasting enabled by default. This prevents use of a shared basestation, but shouldn't throw any exceptions. Note: You can run the route
 add -net 224.0.0.0 command to enable multicast routing.</span>" </div>
<div><br>
</div>
<div>I got<b> </b><span class="Apple-style-span" style="line-height: 15px; "><b>java.net.SocketException</b> before, then after </span>make all of my interfaces multicast enabled, it is disappear. But I'm still suffer with another error relate to the socket,
 which I dont know how to solve that yet:</div>
<div><span class="Apple-style-span" style="line-height: 15px; "><b>Exception in thread "main" com.sun.spot.peripheral.SpotFatalException: Encountered IO Exception attempting to open server socket: voyage: voyage</b></span></div>
<div>(the same application run well in the other machine: ubuntu, window, and osx). I believe there is some configuration need to be changed in my VoyageOS, not in the application.</div>
<div><br>
</div>
<div>Aidi</div>
<div><br>
<div>
<div>On 6 okt 2011, at 17.26, <<a href="mailto:erik.linder@accenture.com">erik.linder@accenture.com</a>></div>
<div> wrote:</div>
<br class="Apple-interchange-newline">
<div ocsi="x">
<div style="direction: ltr; ">
<div>it is mainly a problem of your application. By default voyage will support all multicast traffic (joining a stream, sending streams). however if you need to be able to route multicast traffic then you will need additional software like  mrouted.</div>
<div> </div>
<div>without knowning what your app is doing it is hard to comment further</div>
<div> </div>
<div>cheers</div>
<div>Erik</div>
<div> </div>
<div dir="ltr"> </div>
<div id="divRpF390044" style="direction: ltr; ">
<hr tabindex="-1">
<b>From:</b><span class="Apple-converted-space"> </span><a href="mailto:voyage-linux-bounces+erik.linder=accenture.com@list.voyage.hk">voyage-linux-bounces+erik.linder=accenture.com@list.voyage.hk</a><span class="Apple-converted-space"> </span>[voyage-linux-bounces+erik.linder=accenture.com@list.voyage.hk]
 On Behalf Of Laili Aidi [aidi@kth.se]<br>
<b>Sent:</b><span class="Apple-converted-space"> </span>Thursday, October 06, 2011 5:19 PM<br>
<b>To:</b><span class="Apple-converted-space"> </span>Jeff Ramin<br>
<b>Cc:</b><span class="Apple-converted-space"> </span><<a href="mailto:voyage-linux@voyage.hk">voyage-linux@voyage.hk</a>><br>
<b>Subject:</b><span class="Apple-converted-space"> </span>Re: [Voyage-linux] Enabling Multicast in Voyage<br>
<br>
</div>
<div></div>
<div>Dear Jeff,
<div><br>
</div>
<div>Thank you. I'm wondering what is the necessary steps?
<div><br>
</div>
<div>Aidi</div>
<div><br>
<div>
<div>On 6 okt 2011, at 17.01, Jeff Ramin wrote:</div>
<br class="Apple-interchange-newline">
<div bgcolor="#ffffff"><br>
FWIW - we're running an app that utilizes multicast on voyage, and none of<br>
those steps have been necessary for us.<br>
<br>
<br>
On 10/06/2011 09:53 AM, Artie Gold wrote:
<blockquote type="cite"><font class="Apple-style-span" color="#000000">See, for example: <a href="http://www.dancres.org/bjspj/docs/docs/linux.html" target="_blank">http://www.dancres.org/bjspj/docs/docs/linux.html</a></font>
<div><font class="Apple-style-span" color="#000000"><br>
</font></div>
<div><font class="Apple-style-span" color="#000000">All you probably need to do is to add the route for multicasting...</font></div>
<div><font class="Apple-style-span" color="#000000"><br>
</font></div>
<div><font class="Apple-style-span" color="#000000">HTH,</font></div>
<div><font class="Apple-style-span" color="#000000">--ag</font></div>
<div><font class="Apple-style-span" color="#000000"><br>
<br>
</font>
<div class="gmail_quote"><font class="Apple-style-span" color="#000000">On Thu, Oct 6, 2011 at 9:28 AM, Laili Aidi<span class="Apple-converted-space"> </span><span dir="ltr"><<a href="mailto:aidi@kth.se">aidi@kth.se</a>></span><span class="Apple-converted-space"> </span>wrote:<br>
</font>
<blockquote class="gmail_quote" style="padding-left: 1ex; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.8ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid; ">
<font class="Apple-style-span" color="#000000">Hello,<br>
<br>
Maybe this is very trivia question.<br>
Currently I'm dealing with application which need multicast support to be enabled in the OS. How can I make it to the Voyage?<br>
<br>
Aidi<br>
_______________________________________________<br>
Voyage-linux mailing list<br>
<a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br>
<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
</font></blockquote>
</div>
<font class="Apple-style-span" color="#000000"><br>
<br clear="all">
</font>
<div><font class="Apple-style-span" color="#000000"><br>
</font></div>
<font class="Apple-style-span" color="#000000">--<span class="Apple-converted-space"> </span><br>
Artie Gold <br>
Principal Software Engineer</font>
<div><font class="Apple-style-span" color="#000000">Under Assistant West Coast Promo Man<br>
</font>
<div><font class="Apple-style-span" color="#000000"><br>
F4W, Inc.<br>
<br>
===================================================<br>
Elegance is not a dispensable luxury but a factor that decides between success and failure.<span class="Apple-converted-space"> </span><br>
--Edsger Dijkstra<span class="Apple-converted-space"> </span><br>
</font></div>
</div>
<font class="Apple-style-span" color="#000000"><br>
</font></div>
<pre><fieldset class="mimeAttachmentHeader"></fieldset><font class="Apple-style-span" face="Verdana" color="#000000">
_______________________________________________
Voyage-linux mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a>
<a class="moz-txt-link-freetext" href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a>
</font></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72"><font class="Apple-style-span" face="Verdana">-- 
Jeff Ramin
Software Engineer
Singlewire Software
2601 W Beltline Hwy #510
Madison, WI 53713

Phone Direct - 608.661.1172
<a class="moz-txt-link-abbreviated" href="http://www.singlewire.com/" target="_blank">www.singlewire.com</a>
</font></pre>
</div>
_______________________________________________<br>
Voyage-linux mailing list<br>
<a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br>
<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
</div>
<br>
</div>
</div>
</div>
</div>
<br>
<hr>
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is
 prohibited.<br>
</div>
</div>
<br>
</div>
</body>
</html>