in reply to POE Help
I'm guessing you get the error because the client's already been cleaned up somewhere. You could do
I'm guessing cleanup is already in progress at that stage, so if you just avoid the put, the app would probably exit soon anyhow.$heap->{client}->put($message) if defined $heap->{client};
If that doesn't do it, you can exit yourself if !defined $heap->{client}.
2: Is there any way I can change how much data POE reads at any one time dynamically so that I can play with the data and send it out to the client?
I think you can set a ClientInputFilter on your TCP server to "chunk" the data yourself, but I'm not sure. Check out POE::Filter::Block.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: POE Help
by Anonymous Monk on Jul 07, 2004 at 22:09 UTC | |
by rcaputo (Chaplain) on Jul 09, 2004 at 23:13 UTC | |
|
Re^2: POE Help
by Anonymous Monk on Jul 07, 2004 at 14:08 UTC |