[JDEV] registering component with jabber server
DJ Adams
dj.adams at pobox.com
Sun Apr 15 17:30:21 CDT 2001
On Sun, Apr 15, 2001 at 11:58:11PM +0200, frank wrote:
> I used your xml but it didn't work:
Looks like it did work to me ...
This is what you sent (altho you missed off the 'to=""') :
> Sun Apr 15 22:53:21 2001 mio.c:698 MIO read from socket 12: <?xml
> version="1.0"
> ?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" id="1234"
> xmlns
> ="jabber:component:accept" from="winauth">
> Sun Apr 15 22:53:21 2001 base_accept.c:100 process XML: m:80DEC68 state:2,
> arg:
> 8109A90, x:81F6178
> Sun Apr 15 22:53:21 2001 mio.c:908 mio_write called on x: 0 buffer:
And this is what was sent back to you:
> Sun Apr 15 22:53:21 2001 mio.c:268 write_dump writing data: <?xml
> version='1.0'
> ?><stream:stream xmlns:stream='http://etherx.jabber.org/streams'
> id='3ADA0A41' x
> mlns='jabber:component:accept' from='winauth'>
And now it's waiting for you to send the <handshake/> stuff as described
earlier in the thread.
BTW - you can use the Net::Jabber::Component to do all this dirty work
for you...
dj
(I may be wrong; it is rather late...)
More information about the JDev
mailing list