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.