public function encode() { parent::encode(); $this->put(RakLib::MAGIC); $this->putAddress($this->serverAddress, $this->serverPort, 4); $this->putShort($this->mtuSize); $this->putLong($this->clientID); }