Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

IO::Sockets timeout implementation confusion

by Sol-Invictus (Scribe)
on Jan 31, 2004 at 01:58 UTC ( #325485=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    timeout([VAL])
               Set or get the timeout value associated with this socket. I
    +f called
    ...
               called with an argument the current setting is changed and 
    +the pre-
               vious value returned.
    
  2. or download this
    
    use IO::Socket;
    ...
                                            Reuse=>1
                                            );
    $sel = IO::Select->new($serverSocket);
    
  3. or download this
     select ( READ, WRITE, ERROR [, TIMEOUT ] )
               "select" is a static method, that is you call it with the p
    +ackage
               name like "new". "READ", "WRITE" and "ERROR" are either "un
    +def" or
               "IO::Select" objects. "TIMEOUT" is optional and has the sam
    +e effect
               as for the core select call.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2022-05-17 14:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (66 votes). Check out past polls.

    Notices?