[Standards] XEP-0047 (Flow rate control for IBB)

Jakob Schroeter js at camaya.net
Wed Jul 18 17:13:35 UTC 2007


On Wed Jul 18 2007, William Voorsluys wrote:
> Hello,
>
> We're adding flow rate control support for IBB since our application
> makes heavy use of file transfers.
> Since we need to receive ACKs for packets, we're using <iq> for data
> transport, according to  XEP-0047. The first problem is that the
> algorithm we're using needs to know the sequence number of the packet
> being acknowledged.
> But, according to the XEP, it is not allowed to include any inner XML
> stanza on the <iq> of type RESULT used as ACK:
>
> <iq from='juliet at capulet.com/balcony' to='romeo at montague.net/orchard'
> type='result' id='ibb1'/>

That's just an example.
The RFC allows zero or one child element in IQ result stanzas.
This would work:

<iq from='juliet at capulet.com/balcony' to='romeo at montague.net/orchard'
    type='result' id='ibb1'>
  <data xmlns='http://jabber.org/protocol/ibb' sid='mySID' seq='0'>
</iq>

Jakob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.jabber.org/pipermail/standards/attachments/20070718/328a3655/attachment.sig>


More information about the Standards mailing list