Help for this page

Select Code to Download


  1. or download this
    use POSIX qw/EAGAIN EFBIG ENOSPC/;
    
    ...
            # One of the other dozen or so reasons a write can fail.
        }
    }
    
  2. or download this
    unless (defined(syswrite($socket,$buffer))) {
        # Oh dear, couldn't write.  Could it be that I'm
    ...
            # Oops, the other side went away.
        }
    }