Protocol limitations in size

Hello,

Actually we are facing some limitations onMSN messenger running on Windows Mobile 5.0


Seems there is a limitation on message length sent by the bot between 300 and 400 characters that we dont have on PCs.
Can you provide us with documentation explaining the length limitations on these mobile platforms?

Best regards, Nicolas BOSSARD

[965 byte] By [NicolasBossard] at [2008-2-10]
# 1

Bonjour Nicolas

Most IM clients sends us information about how large a message they can handle. When we don't get that information from the client, we use a default value that’s conservative. Default value for MSN is 800 chars, but there is some overhead because of the header for the message, and that could be consistent with what you are seeing.

You can see what value is used by our platform by default (either from client information or from safe defaults) by reading the variable "SYS.Presentation.MaxLengthDefault". You can modify this value to force the maximum length to a higher value by setting the variable SYS.Presentation.MaxLength.

The code could look like this:

Code Snippet

procedure ABStartSessionProc()

SYS.Presentation.MaxLength = 2000

When you do this, be sure to test that large messages don't get rejected by your client.

Hope this helps!

Fran?ois

FrançoisHuet-MSFT at 2007-10-2 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Agents Development...

Windows Live Developer Forums

Site Classified