Re: UDP broadcast from an XO
On Fri, 2 Jan 2009, shivaprasad javali wrote: > Hi, > Is there any way I can ask the OLPC to broadcast the UDP packets. I am > broadcasting the UDP packets by writing to the UDP port and setting the > destination address to 255.255.255.255 . I am using ports 61556 and 61557 > for communication. So if the antenna of the OLPC ( and hence its wireless > connectivity) is functional wont it broadcast the UDP packets it receives > for broadcast? the normal address to use for broadcasts is nto 255.255.255.255, but the broadcast address of the particular network you are on. for example: if you are on 192.168.1.0 with a netmask of 255.255.255.0 the broadcast address would be 192.168.1.255 David Lang > Thanks > jbsp72 > > On Fri, Jan 2, 2009 at 1:30 PM, wrote: > >> On Fri, 2 Jan 2009, qu...@laptop.org wrote: >> >> Visibility in Neighbourhood View is determined by access from the XO to >>> the Jabber server. The Jabber server does not relay these UDP packets >>> for you. Therefore visibility is not an indicator of ability to operate >>> over UDP. >>> >>> A wireless router will relay the UDP packets. The relay is being done >>> by the router itself, and so any XO not associated with the router may >>> not receive the UDP packets unless the packets are forwarded by the >>> router to whatever router the other XO is associated with. >>> >>> Can you show me one of these UDP packets? >>> >> >> remember that broadcast packets don't generally go through routers (they go >> through bridges, but not routers) >> >> so if the two XO's are on different subnets, broadcasts won't be seen by >> the other one. >> >> David Lang >> > ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: UDP broadcast from an XO
Hi, Is there any way I can ask the OLPC to broadcast the UDP packets. I am broadcasting the UDP packets by writing to the UDP port and setting the destination address to 255.255.255.255 . I am using ports 61556 and 61557 for communication. So if the antenna of the OLPC ( and hence its wireless connectivity) is functional wont it broadcast the UDP packets it receives for broadcast? Thanks jbsp72 On Fri, Jan 2, 2009 at 1:30 PM, wrote: > On Fri, 2 Jan 2009, qu...@laptop.org wrote: > > Visibility in Neighbourhood View is determined by access from the XO to >> the Jabber server. The Jabber server does not relay these UDP packets >> for you. Therefore visibility is not an indicator of ability to operate >> over UDP. >> >> A wireless router will relay the UDP packets. The relay is being done >> by the router itself, and so any XO not associated with the router may >> not receive the UDP packets unless the packets are forwarded by the >> router to whatever router the other XO is associated with. >> >> Can you show me one of these UDP packets? >> > > remember that broadcast packets don't generally go through routers (they go > through bridges, but not routers) > > so if the two XO's are on different subnets, broadcasts won't be seen by > the other one. > > David Lang > ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: UDP broadcast from an XO
On Fri, 2 Jan 2009, qu...@laptop.org wrote: > Visibility in Neighbourhood View is determined by access from the XO to > the Jabber server. The Jabber server does not relay these UDP packets > for you. Therefore visibility is not an indicator of ability to operate > over UDP. > > A wireless router will relay the UDP packets. The relay is being done > by the router itself, and so any XO not associated with the router may > not receive the UDP packets unless the packets are forwarded by the > router to whatever router the other XO is associated with. > > Can you show me one of these UDP packets? remember that broadcast packets don't generally go through routers (they go through bridges, but not routers) so if the two XO's are on different subnets, broadcasts won't be seen by the other one. David Lang ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: UDP broadcast from an XO
Visibility in Neighbourhood View is determined by access from the XO to the Jabber server. The Jabber server does not relay these UDP packets for you. Therefore visibility is not an indicator of ability to operate over UDP. A wireless router will relay the UDP packets. The relay is being done by the router itself, and so any XO not associated with the router may not receive the UDP packets unless the packets are forwarded by the router to whatever router the other XO is associated with. Can you show me one of these UDP packets? -- James Cameronmailto:qu...@us.netrek.org http://quozl.netrek.org/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
UDP broadcast from an XO
Hi, I have an activity which broadcasts messages over UDP to all the systems connected to the network. I ran into a problem while testing it out on the XO. The messages broadcasted are received by other XO's if both of them are connected to a common WiFi router. But when they are connected to the router teh messages are not received by my activity on the other XO. Although the other XO is visible to my XO( in the neighbourhood view) the UDP messages broadcast from my XO are not received by the other XO when they are nto connected through a common router. Will UDP messages be broadcast from one XO node to another. What else may the cause be for the UDP messages not being picked up by the other XO? Thanks jbsp72 ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel