Re: Component::Client::TCP and a flurry of short messages

2006-08-31 Thread Nick Williams
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

Re: Component::Client::TCP and a flurry of short messages

2006-08-31 Thread Pedro Melo
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

Component::Client::TCP and a flurry of short messages

2006-08-30 Thread lanas
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