Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

IO::Poll Examples?

by sri (Vicar)
on May 16, 2004 at 21:44 UTC ( #353824=perlquestion: print w/replies, xml ) Need Help??
sri has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

IO::Poll is driving me nuts, i just don't get it running, and the only example i can find is a very small client in Network Programming with Perl by Lincoln D. Stein.

Hope i've missed some, or maybe someone here can give me a server example.

For those who don't know IO::Poll, it's similar to IO::Select but uses an array struct instead of a vector to store filehandles, so it can handle much more filehandles.

Replies are listed 'Best First'.
Re: IO::Poll Examples?
by kvale (Monsignor) on May 17, 2004 at 01:09 UTC
    As the man page for IO::Poll says, it is just a wrapper for poll(2), so it may pay to look into Unix/Linux docs in the call. For instance, the Unix FAQ has a poll example.

    -Mark

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://353824]
Approved by Happy-the-monk
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2018-01-22 03:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (231 votes). Check out past polls.

    Notices?