[JDEV] urgent: Max. Message size ???
Jim burnett
jburnett at localsquare.com
Tue Mar 7 08:44:50 CST 2000
I use jabberCOM and I can send and recieve 17k + messages no problem.
----- Original Message -----
From: "chandan sonaye" <chandans at mahindrabt.com>
To: <jdev at jabber.org>
Sent: Tuesday, March 07, 2000 4:13 AM
Subject: [JDEV] urgent: Max. Message size ???
> Hi all,
>
> I am working in a Internet-based project. In the project, we are
> developing an Instant Messaging client using Jabber Server in Visual
> C++. I am using COM object (JabberCOM32) which is available at jabber
> web site.
> My jabber client can send and receive messages. But it can not receive
> messages which are larger than some fixed size(4kb). When client
> receives any message greater than this limit, it can not handle the
> message.
>
> The problem is as below:
> In JabberCOM object, there are events like OnXml() and OnMessage().
> In case of small messages(messages smaller than 4k), first OnXml() event
> fires and then OnMessage() event fires.
> In OnMessage(), i parse message and take appropriate action.
> But in case of larger messages (messages greater than 4k), only OnXml()
> event fires. In OnXml(), whole message doesn't come. Only some part of
> message comes in OnXml(). In this case, OnMessage() event does not fire.
> And then my application crashes.
>
> Why is the limit for message size? Is buffer size(4k) determined at
> jabber server?
> In any case, How can i handle these larger messages?
> Please give some guidelines to solve above problem.
>
> Thank you
>
> chandan
>
>
>
>
>
>
>
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>
More information about the JDev
mailing list