All pastes #441215 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-04-15 15:59 UTC
rendered paste body
testing jabber

Array
(
    [0] => Warning: dns_get_record function not found . gtalk will not work
    [1] => SEND: <?xml version='1.0' encoding='UTF-8' ?>
    [2] => SEND: <stream:stream to='jabber.org' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
    [3] => RECV: <?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='632097903' from='jabber.org' version='1.0' xml:lang='en'>
    [4] => RECV: <stream:features><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><compression xmlns='http://jabber.org/features/compress'><method>zlib</method></compression><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism></mechanisms><register xmlns='http://jabber.org/features/iq-register'/></stream:features>
    [5] => SEND: <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
    [6] => RECV: <challenge xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>bm9uY2U9Ijc5MTIwNzQ4MSIscW9wPSJhdXRoIixjaGFyc2V0PXV0Zi04LGFsZ29yaXRobT1tZDUtc2Vzcw==</challenge>
    [7] => SEND: <response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>dXNlcm5hbWU9ImNoYW5oIixyZXNwb25zZT0iMTBmYWYwNjJmZDdjMDM5OTQ3ZmYyNDRlMGJlMWFiMjgiLGNoYXJzZXQ9InV0Zi04IixuYz0iMDAwMDAwMDEiLG5vbmNlPSI3OTEyMDc0ODEiLHFvcD0iYXV0aCIsZGlnZXN0LXVyaT0ieG1wcC9qYWJiZXIub3JnIixjbm9uY2U9Im9RSDBjNjVxMTlyWUpGOVNONzBVdVVwY1hjTHdTQUp5MHJoVDBmUDhlWXM9Ig==</response>
    [8] => RECV: <challenge xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>cnNwYXV0aD1hYmQ5YzUyZWI1MTUwMjM1ZTlmNTkzMzk0NGVkMzQzMA==</challenge>
    [9] => SEND: <response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
    [10] => RECV: <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
    [11] => SEND: <stream:stream to='jabber.org' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
    [12] => RECV: <?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1417801761' from='jabber.org' version='1.0' xml:lang='en'>
    [13] => RECV: <stream:features><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/><session xmlns='urn:ietf:params:xml:ns:xmpp-session'/></stream:features>
    [14] => SEND: <iq type='set' id='bind_1'>
                                    <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
                                        <resource>class.jabber2.php</resource>
                                    </bind>
                                 </iq>
    [15] => RECV: <iq id='bind_1' type='result'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><jid>chanh@jabber.org/class.jabber2.php</jid></bind></iq>
    [16] => SEND: <iq to='jabber.org' 
                                             type='set'
                                             id='sess_1'>
                                          <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
                                        </iq>
    [17] => RECV: <iq type='result' from='jabber.org' id='sess_1'>
                                          <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
                                        </iq>
    [18] => SEND: <message from='chanh@jabber.org/class.jabber2.php'
                                     to='floele@jabber.org'
                                     xml:lang='en'
                                     type='normal'
                                     id='msg46224b94678ab'>
                              <subject>test</subject>
                              <body>test msg from Chanh Ong!</body>
                            </message>
    [19] => SEND: </stream:stream>
)