Help for this page

Select Code to Download


  1. or download this
    $SIG{PIPE} = sub {close $active; exit (3)};
    sub readn
    ...
       return $offset;
    }
    
  2. or download this
    #!/usr/bin/perl -w 
    use strict;  
    ...
       writen ($socket,substr($buf,0,1));
       writen ($socket,substr($buf,1,$RW_BUF_LEN-1));
    }
    
  3. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
       #print "num bytes written to server: $offset\n";
       return $offset;
    }
    
  4. or download this
    writen ($socket,substr($buf,0,1));             
    writen ($socket,substr($buf,1,$RW_BUF_LEN-1));