On (02/19 08:00), Jay Strauss wrote:

> If I want to read the socket manually, Wheel::ReadWrite (I think) is going
> to present the same problem as Component::TCP::Client, that is, every time
> some data comes down the pipe it's going to invoke an event.

yeah. this is kind of the core of what poe does.

> 
> My situation is the server sends variable length records down the pipe, I
> have to pick up the record type (first) to figure out how many more fields
> to read.  

write your own filter. the filter decides when you have what kind of
data.


--
Matt Cashner
http://eekeek.org
eek at eekeek dot org

Reply via email to