intel has asked for the wisdom of the Perl Monks concerning the following question:
I am using IO::SOCKET::INET to just connect to a port on a machine and stream the data to STDOUT. The values that come out of that stream tick by at unsteady intervals, and I would like to create a buffer/throttle/cache type datastructure to enable me to output them at a very stable, regular interval. Any ideas/modules/methods that you can think of that would make this work? I'm sure someone else has done it, but I'm really not sure how to go about it.
Since I haven't done much network programming with perl, and I couldn't locate any howtos in the usual places, (I may have just missed it) I thought I would ask my question here. Thanks in advance for your time.
Retitled by g0n from 'throttling'.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to throttle/cache a simple HTTP datastream
by merlyn (Sage) on Jul 18, 2005 at 17:54 UTC | |
by intel (Beadle) on Jul 18, 2005 at 18:01 UTC | |
by merlyn (Sage) on Jul 18, 2005 at 18:03 UTC | |
by intel (Beadle) on Jul 18, 2005 at 20:08 UTC | |
|
Re: how to throttle/cache a simple HTTP datastream
by BrowserUk (Patriarch) on Jul 18, 2005 at 21:48 UTC |