protected function _send($data) { if (fwrite($this->_connection(), $data, strlen($data)) === false) { throw new NetworkException('Could not send registration to Growl Server.'); } return true; }