mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:03:55 +02:00
initial handling of ping replies in domain-server
This commit is contained in:
parent
0d4ef4aaca
commit
15cc08da97
2 changed files with 9 additions and 0 deletions
|
@ -1030,6 +1030,10 @@ void DomainServer::processICEHeartbeatResponse(const QByteArray& packet) {
|
|||
}
|
||||
}
|
||||
|
||||
void DomainServer::processICEPingReply(const QByteArray& packet, const HifiSockAddr& senderSockAddr) {
|
||||
qDebug() << "looking for a node with ID" << uuidFromPacketHeader(packet) << "in connecting hash";
|
||||
}
|
||||
|
||||
void DomainServer::processDatagram(const QByteArray& receivedPacket, const HifiSockAddr& senderSockAddr) {
|
||||
LimitedNodeList* nodeList = LimitedNodeList::getInstance();
|
||||
|
||||
|
@ -1077,6 +1081,10 @@ void DomainServer::processDatagram(const QByteArray& receivedPacket, const HifiS
|
|||
|
||||
break;
|
||||
}
|
||||
case PacketTypeUnverifiedPingReply: {
|
||||
processICEPingReply(receivedPacket, senderSockAddr);
|
||||
break;
|
||||
}
|
||||
case PacketTypeIceServerHeartbeatResponse:
|
||||
processICEHeartbeatResponse(receivedPacket);
|
||||
break;
|
||||
|
|
|
@ -76,6 +76,7 @@ private:
|
|||
|
||||
void setupAutomaticNetworking();
|
||||
void updateNetworkingInfoWithDataServer(const QString& newSetting, const QString& networkAddress = QString());
|
||||
void processICEPingReply(const QByteArray& packet, const HifiSockAddr& senderSockAddr);
|
||||
void processICEHeartbeatResponse(const QByteArray& packet);
|
||||
|
||||
void processDatagram(const QByteArray& receivedPacket, const HifiSockAddr& senderSockAddr);
|
||||
|
|
Loading…
Reference in a new issue