On Thu, Dec 8, 2011 at 8:45 PM, Bob DeRemer <bob.dere...@thingworx.com> wrote: > I’m using vysper 0.8, embedded in our webapp, and now wish to leverage the > socks5 proxy support. I would like to create an inproc java component that > acts as our server-side file transfer module – using the embedded socks5 > proxy support in vypser. I wish to be able to initiate file transfer from an > external client to our “server”, as well as initiate file transfer from our > Server “out” to another client. Is there any sample java code that shows how > to I might do this and what I need to implement? I’m hoping I can create a > vysper module to do this – since it’s all in-proc.
You have probably already seen this, but this test contains the code to use Smack with the Vysper SOCKS5 support: https://svn.apache.org/repos/asf/mina/vysper/trunk/server/extensions/xep0065-socks/src/test/java/org/apache/vysper/xmpp/extension/xep0065_socks/Socks5IntegrationTest.java I'm guessing you should be able to wrap something similar up to a component running within your application. /niklas