lanas wrote:
Folks,
Using POE::Component::Client::TCP, I want to send several short
messages to a server. The server expects each message as a
stand-alone message so that it knows that the first byte is a command,
the second 4 four bytes a data length, etc...
But when I send 4 short
Hi.
Another solution for this might be for you to write your own
POE::Filter that interprets the stream exactly like what you want,
and therefore became immune to this problem with TCP frames.
If you really want different frames, and total control, then there is
always UDP...
Bye,
On
Folks,
Using POE::Component::Client::TCP, I want to send several short
messages to a server. The server expects each message as a
stand-alone message so that it knows that the first byte is a command,
the second 4 four bytes a data length, etc...
But when I send 4 short messages one right