Re: Event and IO::Socket
[email protected] (Jeff Boes) 05 Aug 2002 10:40:47 -0400
| Newsgroups | perl.loop |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 2002-08-03 at 00:01, Joshua N Pritikin wrote:
> > but I'm not sure I'm on the right track.
>
> That looks OK to me. Is it actually not working or are you just
> looking for encouragement?
Hmm. It seems to be working now, but I'm not quite sure what I did. I
guess the encouragement is sufficient!
But on another note: what exactly does the 'min' parameter for an 'io'
event do? I've sent 'min' to 20, but I see events occurring more
frequently than that. What I'd like to do is have the event trigger on
the availability of data at the socket, but not if the last event
happened less than N seconds ago.
--
Jeff Boes vox 269.226.9550 ext 24
Database Engineer fax 269.349.9076
Nexcerpt, Inc. http://www.nexcerpt.com
...Nexcerpt... Extend your Expertise