[JDEV] Net::Jabber sample transport

Ryan Eatmon reatmon at jabber.org
Sun Jan 28 21:58:03 CST 2001


The Transport.pm is depracated.  Unforutnatly, it took me a while to
make new examples, which are in CVS and not in a release on CPAN. =(

You can try to get the example scripts from CVS at
http://sourceforge.net/projects/netjabber/  or you can wait for a new
Net::Jabber release.

Ryan
reatmon at jabber.org



Rob Torop wrote:
> 
> I can't get the sample transport example included in Net::Jabber to
> work. At this point, I think I'm close, so maybe someone can tell me
> what I'm doing wrong. I'd appreciate any help!  I'm running all programs
> (server 1.4pre2, transport.pl, transport_test.pl) on my home LAN on the
> machine named bluemasq.
> 
> 1.  I modified jabber.xml like this:
> 
> A. Added in the following <service/> item:
> 
> <jsm>
>    ...
>   <browse>
>     ...
>       <service type="test" jid="test.bluemasq" name="UC Transport">
>           <ns>jabber:iq:gateway</ns>
>           <ns>jabber:iq:register</ns>
>         </service>
> 
> B. Added this down below after the <log/>
> 
>  <service id="test.bluemasq">
>     <accept>
>       <ip/>
>       <port>7777</port>
>       <secret>test</secret>
>     </accept>
>   </service>
> 
> 2. I ran transport.pl like this
> 
> perl transport.pl bluemasq 5222 test test
> 
> 3.  I modifed transport_test.pl, replacing "transport.test.foo" with
> "test.bluemasq". I then ran it like this
> 
> perl transport_test.pl bluemasq 5222 myid mypasswd blah
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev


-- 

Ryan Eatmon                   reatmon at jabber.org 
------------------------------------------------
Jabber.org - Perl Team    jid:reatmon at jabber.org




More information about the JDev mailing list