Hi,

On Sep 2, 2008, at 6:31 AM, JLIST wrote:

> A follow up question is, what would be the right element
> of the protocol to use to send and receive custom data?
> It'll be very helpful to me if someone can point me to
> a link or some names that I can search for.

You can use two:

<message /> or <iq />.

the main difference is that <iq /> is a request/response dialog: you  
sen a <iq type="set"> or a <iq type="get"> and get back a <iq  
type="result"> or a <iq type="error">. The id attribute of the  
response matches the id of the request.

The <message /> is more of a send and forget about it style of  
communication.

Best regards,
-- 
Pedro Melo
Blog: http://www.simplicidade.org/notes/
XMPP ID: [EMAIL PROTECTED]
Use XMPP!


_______________________________________________
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [EMAIL PROTECTED]
_______________________________________________

Reply via email to