mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 08:37:19 +02:00
add a note about the QDataStream black box
This commit is contained in:
parent
11a1bc4488
commit
9f9ef8764d
1 changed files with 2 additions and 0 deletions
|
@ -1055,6 +1055,8 @@ void DomainServer::sendHeartbeatToDataServer(const QString& networkAddress) {
|
||||||
|
|
||||||
void DomainServer::sendHeartbeatToIceServer() {
|
void DomainServer::sendHeartbeatToIceServer() {
|
||||||
if (!_iceServerSocket.getAddress().isNull()) {
|
if (!_iceServerSocket.getAddress().isNull()) {
|
||||||
|
// NOTE: I'd love to specify the correct size for the packet here, but it's a little trickey with
|
||||||
|
// QDataStream and the possibility of IPv6 address for the sockets.
|
||||||
static auto heartbeatPacket = NLPacket::create(PacketType::ICEServerHeartbeat);
|
static auto heartbeatPacket = NLPacket::create(PacketType::ICEServerHeartbeat);
|
||||||
|
|
||||||
bool shouldRecreatePacket = false;
|
bool shouldRecreatePacket = false;
|
||||||
|
|
Loading…
Reference in a new issue