Actually, I may have seen that class, but wasn't sure really where to start. When you say "component" do mean this in the general sense, or an actual XMPP component? Would this make sense to be a module?
Thanks again -----Original Message----- From: Niklas Gustavsson [mailto:[email protected]] Sent: Thursday, December 08, 2011 4:31 PM To: [email protected] Subject: Re: inproc socks5 proxy client On Thu, Dec 8, 2011 at 8:45 PM, Bob DeRemer <[email protected]> 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
