Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Listening on multiple ports using IO::Select

by JPaul (Hermit)
on Mar 19, 2003 at 16:59 UTC ( #244382=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $server = IO::Socket::INET->new(LocalPort => 5000,
                                       Listen    => 10,  
    ...
                            }              
                    }
            }
    
  2. or download this
    my $select = IO::Select->new();
    $select->add($server);  $select->add($serverB);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://244382]
Approved by hardburn
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2023-12-02 19:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (18 votes). Check out past polls.

    Notices?