49 parent::__construct($logger, $address, $clientId, $mtuSize, $recvMaxSplitParts, $recvMaxConcurrentSplits);
72 $id = ord($packet[0]);
73 if($id === MessageIdentifiers::ID_CONNECTION_REQUEST){
76 $this->queueConnectedPacket(ConnectionRequestAccepted::create(
79 $dataPacket->sendPingTime,
80 $this->getRakNetTimeMS()
81 ), PacketReliability::UNRELIABLE, 0,
true);
82 }elseif($id === MessageIdentifiers::ID_NEW_INCOMING_CONNECTION){
86 if($dataPacket->address->getPort() === $this->server->getPort() or !$this->server->portChecking){
87 $this->state = self::STATE_CONNECTED;
88 $this->server->openSession($this);