Help for this page

Select Code to Download


  1. or download this
    $client->{socket} = IO::Socket::UNIX->new(Type => SOCK_STREAM, Listen 
    +=> 5, Local => $filename);
    chmod 777, $filename;
    
  2. or download this
    $sel->add($client->{socket});
    
  3. or download this
    while($sel->can_read) {
    ...
    }
    
  4. or download this
    defined ($r) && (select($r, undef, undef, $timeout) > 0)) ? handles(&v
    +ec, $r) : ();