All pastes #441346 Raw Edit

Someone

public text v1 · immutable
·published 2007-04-15 17:08 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='2314947916' from='jabber.org' version='1.0' xml:lang='en'><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>
    [4] => SEND: <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
    [5] => RECV: <challenge xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>bm9uY2U9IjEzODkyNjI2MTYiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
    [6] => SEND: <response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>dXNlcm5hbWU9ImNoYW5oIixyZXNwb25zZT0iMWIwMmNjMDFhZmVhOTMxN2M1MzJmZjE0ODI0YzlhOWQiLGNoYXJzZXQ9InV0Zi04IixuYz0iMDAwMDAwMDEiLG5vbmNlPSIxMzg5MjYyNjE2Iixxb3A9ImF1dGgiLGRpZ2VzdC11cmk9InhtcHAvamFiYmVyLm9yZyIsY25vbmNlPSJHNmdnSXE4ekZVaTNSbWRxNWVCVndHM2J6K1FnTU42MTZqb1NUcjRwMlkwPSI=</response>
    [7] => RECV: <challenge xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>cnNwYXV0aD00ZWEyMDMwOWRlOTQxZWU4NWVjNGY1ZDBhMDAxMDY5MQ==</challenge>
    [8] => SEND: <response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
    [9] => RECV: <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
    [10] => SEND: <stream:stream to='jabber.org' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
    [11] => RECV: <?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='534151688' from='jabber.org' version='1.0' xml:lang='en'>
    [12] => RECV: <stream:features><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/><session xmlns='urn:ietf:params:xml:ns:xmpp-session'/></stream:features>
    [13] => SEND: <iq type='set' id='bind_1'>
                                    <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
                                        <resource>class.jabber2.php</resource>
                                    </bind>
                                 </iq>
    [14] => 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>
    [15] => SEND: <iq to='jabber.org' 
                                             type='set'
                                             id='sess_1'>
                                          <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
                                        </iq>
    [16] => RECV: <iq type='result' from='jabber.org' id='sess_1'>
                                          <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
                                        </iq>
    [17] => SEND: <message from='chanh@jabber.org/class.jabber2.php'
                                     to='cong@jabber.org'
                                     xml:lang='en'
                                     type='normal'
                                     id='msg46225bef43b2f'>
                              <subject>test</subject>
                              <body>test msg from Chanh to Cong!</body>
                            </message>
    [18] => SEND: </stream:stream>
)