Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

IO::Sockets timeout implementation confusion

by Sol-Invictus (Scribe)
on Jan 31, 2004 at 01:58 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-20 04:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found