public function write($data) { if ($this->dgram) { return $this->parentSocket->sendTo($data, $this->finished ? MSG_EOF : 0, $this->host, $this->port); } return parent::write($data); }
/** * @TODO * @param string $s Data */ public function write($s) { parent::write($s); }