From: AJ O. <coo...@gm...> - 2010-12-20 22:10:59
|
That starts to make more sense. I was investigating libjingle for that reason - to get around firewalls and such, but it looked a bit complicated. I haven't decided on a solution yet, but I'm considering using UPNP with plain-old TCP-relay as a fallback. With UPNP you ask the network "Hey, is there a router? And if so, may I please have permission to use my address publicly for service X?" Then you can access it directly. TCP relay could work if your robot can poll a server on the internet every few minutes "Hey, any messages for me?" If someone is connected on the other end (you, for example), you relay the messages. Make sense? JSON is a simple text-format to describe objects that has native or core-library support in many languages (JavaScript, Python, Ruby, Go) and very simple modules for most other languages (C++, Java, etc) JSON handles, objects, and arrays, but requires a type conversion (there are some JSON-schema libraries available too) JSON looks like this: { "key": "value", "key2: [ "value1", "value2" ] } Objects { } (just like structs in C Assignment : Array [] (just like every language ever) AJ ONeal On Mon, Dec 20, 2010 at 12:41 PM, dtran11 <dt...@gm...> wrote: > > I was hoping using google talk will take care of the routing and firewall > issues that might come up. The robot will be at home connected to the > internet behind a router with dynamic ip which can change at any time. I > want to control it at anywhere in the world. Will your approach make it easy > for me to connect to my robot without having to know its ip explicitly? > > Thanks. > -- > View this message in context: http://old.nabble.com/XMPP-libraries-for-linux--tp30494242p30501037.html > Sent from the Gumstix mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Lotusphere 2011 > Register now for Lotusphere 2011 and learn how > to connect the dots, take your collaborative environment > to the next level, and enter the era of Social Business. > http://p.sf.net/sfu/lotusphere-d2d > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |