I'm not an expert, but it seems to be based on the spec that as long as your queries to the client (C1) are implementing a get or a set then the probably belong in IQ stanzas.
~ Anders On Fri, Mar 28, 2008 at 10:08 AM, Roberto Ostinelli <[EMAIL PROTECTED]> wrote: > hi all, > > just curious about a 'best practice' on using xmpp as transport for data. > not sure if this is the kind of discussions we can have here, if not, please > do ignore this post which will not be followed on. > > we are using an xmpp server S1 to handle all a-sync an sync communication > between two XMPP clients, C1 and C2. > > the flow is as follows: C1 sends data to C2 through S1, and C2 has to reply > to C1 wether the transmitted data is coherent with a series of computation > that can only be handled by C2. > > were this to be a client-server case, i would use a custom namespace on a > <iq/> stanza [for request-response functionality]. however, since the flow > of this communication is C1-S1-C2-S1-C1, would you recommend still using > <iq/> or a <message/> stanza instead? > > thank you. > > r. > >
