Not logged in. · Lost password · Register
Forum: agsXMPP SDK Support RSS
Avatar
owen #1
Member since Nov 2006 · 21 posts · Location: UK
Group memberships: Members
Show profile · Link to this post
Subject: Max length of an XMPP message?
Hi,

Is there a max length of chat messages sent via XMPP?

I ask this because sometimes I programatically send long messages and they appear to be truncated when recieved.

Shorter messages work fine, so I suspect there's a max length.  What is it?  Can it be adjusted?  Does the max length depend on another setting in the message, eg. Type?  (currently this is set to "chat").

Thanks,
Owen
Avatar
Jabberer #2
Member since Feb 2006 · 249 posts
Group memberships: Members
Show profile · Link to this post
Hello Owen,

no the XMPP core defines no maximum length for stanzas.
But the most XMPP servers have max. stanza size , max xml depth and max traffic (karma) in the server configuration. So it depends on the server configuration.

What do you mean with truncated? I don't think that the server truncates you stanza. Normally it returns an error when the limit is exceeded.
Software Developer
AG-Software
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP SDK Support RSS