thrownew\RuntimeException("Write timed-out, no data sent for `{$this->writingTimeout}` seconds, probably we got disconnected (sent $sent of $length)");
}
}
if(!$this->isConnected()&&$sent<$length){
thrownew\RuntimeException("End-of-file reached, probably we got disconnected (sent $sent of $length)");