remy.harel at GICM.FR
Fri Jun 11 05:06:57 CDT 2004
Matthias Wimmer wrote:
>Remy HAREL schrieb am 2004-06-10 14:45:39:
>> Yet, this is the result of a tcpdump listenning to the router. We can
>>see the datas I added ( begins by Seq: ... ) and the to field, that I
>>can know. But there is a "from" field in this stanzas, there's really no
>>way to get it with NAD_AVAL ? If I could get the "to" attribute I should
>>probably get the "from" attributes, shouldn't I ?
>><route xmlns='http://jabberd.jabberstudio.org/ns/component/1.0' to='c2s'
>>to='rem at jabber.gicm.net/Gabber' type='chat'
>>from='rem2 at jabber.gicm.net/Gabber' sm:c2s='7'
>This is a stanza you got from the router and that is from the session
>manager. Sure this one has a from attribute and it has been added by the
Yes, we agree.
>But you asked why you don't get them in _c2s_client_sx_callback. This
>callback is called for stanzas, that come from the client, not from the
>router. These stanzas don't have from attributes.
So, although I got the "to" attribute here ( rem at jabber... ) , there's
no way to get the "from" field ( rem2 at jabber.... ) ?
Thanks again matthias, you're really cool and helpful with me.
Remy Harel - remy.harel at gicm.fr
G.I.C.M - Distributed Systems & IT
Linux Registered User #224740
More information about the JDev