difference between packetTo and stanzaTo?
what is the difference between packetTo and stanzaTo? what situation should I use packetTo(or stanzaTo)? thank you.
Added by Artur Hefczyc about 5 years ago
stanzaTo keeps the exact data from the XMPP packet (stanza). Whatever is set in message, presence or IQ packet. packetTo is kind of an internal address used for Tigase processing. packetTo is usually set to the address of the Tigase component which is supposed to handle and process the stanza.