Are there any Java client libraries for OpenSocial?

Adobe Cirrus (Flash) and Google Libjingle (for C/C++) are two libraries (and services) for establishing direct reliable peer-to-peer transport, while punching NAT's and firewall's. Are there alternative services or client SDK libraries in other languages (maybe Python, Java, Ruby, etc.)?

  • There are technical differences between Adobe Cirrus (AC) and Google Libjingle (GJ), to be precise. E.g. the former uses RTMFP transport, while the latter tries uses a combination of TCP and some UDP-based reliable transport, and even maybe relaying. For the most part, I am interested in finding out, generally, if there are alternatives to the above that facilitate programming P2P applications where one wants to have a convenient way of naming and connecting to a peer without worrying about NAT's/Firewalls/Dynamic IPs, etc.

  • Answer:

    Teredo can be used to achieve NAT traversal in P2P applications.   Teredo ( http://en.wikipedia.org/wiki/Teredo%20tunneling ) is a IPv6 Tunneling technology, standardized according to RFC4380 ( http://tools.ietf.org/html/rfc4380 ).   Teredo is part of Windows XP, Vista, and Windows 7; with Miredo ( http://en.wikipedia.org/wiki/Miredo ), there is also an open-source implementation for Linux and Mac OS X available.   Microsoft reports that with Teredo, the chance of a connection between two peers increases from 15% to 84% ( http://www.ietf.org/proceedings/08jul/slides/v6ops-9.pdf ).   Additionally, there is a complete P2P networking stack integrated in Microsoft Windows ( http://technet.microsoft.com/en-us/network/bb545868 ) .

Wolf Garbe at Quora Visit the source

Was this solution helpful to you?

Other answers

LittleShoot can also be used this way. See: http://www.littleshoot.org/technology and http://dev.littleshoot.org:8084/display/LSDOCS/LittleShoot+Client+Documentation The later documents how to communicate with LittleShoot from a web page. You can also incorporate LittleShoot directly in code. While several companies are using it this way now, many of the details are not yet thoroughly documented. The components are all in github at: https://github.com/adamfisk Feel free to ping me directly if you want to use LittleShoot directly at the code level. It's quite easy to do and integrates with both SIP and XMPP, including over existing XMPP servers like Google Talk.

Adam Fisk

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.