
Signature
Before God we are equally wise and equally foolish.
-- Albert Einstein
Hello!
You wrote on Thu, 10 Feb 2005 08:17:05 -0800:
M> The server is sending out multiple commands in a very short while. On
M> the client side these are not being received correctly. The commands are
M> XML messages. The problem is that the client is either not receiving the
M> XML as a whole message or, the xommands are received concatenated to one
M> another (as <message1><message2><part of message3>).
M> This is causing havoc on the client side. Any ideas how this can be
M> handled?
Without knowing exactly how you send the messages it's hard to say. Assuming
that you are using TCP sockets, I can say the following:
one of great misconceptions of programmers is that they believe TCP
communication to be message-based. It's not. It's stream-based. If you need
messages, you need to manually merge and split messages that you receive or
use some message-oriented middleware. You can check MsgConnect
(http://www.msgconnect.com/) which eliminates the problem.
With best regards,
Eugene Mayevski
MalteseFalcon - 11 Feb 2005 11:33 GMT
Hello
The problem is exactly with TCP. I am considering the option of MsgConnect.
Thanks for the answer.
J
> Hello!
> You wrote on Thu, 10 Feb 2005 08:17:05 -0800:
[quoted text clipped - 18 lines]
> With best regards,
> Eugene Mayevski