Sebastiaan 'CBAS' Deckers wrote:
You're supposed to use the id attribute of the <iq/> element, not necessarily for <message/>.

eg.
SENT: <iq id="abc123" to="foo@bar" type="get"/>
SENT: <iq id="def456" to="foo@bar" type="get"/>
RECV: <iq id="def456" from="foo@bar" type="result"/>
RECV: <iq id="abc123" from="foo@bar" type="result"/>

This is documented here:
http://www.jabber.org/ietf/draft-ietf-xmpp-core-02.html#anchor3
Thank you. My doubt derived from some libraries that for <iq/> elements have methods such as sendAndWaitForResponse, which are blocking until the answer of the last sent <iq/> arrives.

--
Fabio Forno - PhD Student
Politecnico di Torino - Dip. Automatica ed Informatica
C.so Duca degli Abruzzi 24 - 10129 Torino (Italy)
Phone: +39 011 564 7137 - JabberId: [EMAIL PROTECTED]

_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev


Reply via email to