"throttling" output of P::C::C::TCP
"John R." <[email protected]>
| Newsgroups | gmane.comp.lang.perl.poe |
|---|---|
| Message-ID | <[email protected]> |
I may have a problem overloading a device connected to a TCP server. I
am not 100% sure the problem is sending requests too fast, but it seems
like a good debugging step. So, if I have a loop in which iteration has
(ultimately) a "$_[HEAP]->{server}->put( $msg . "\n" )", what is the
POE way of doing this? I am pretty sure "sleep" is not the answer as
that causes all sorts of weirdness (as I expected).
John