public function __destruct() { if ($this->dgram && $this->parentSocket) { $this->parentSocket->unassignAddr($this->addr); } }