mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01: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() {
|
||||
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);
|
||||
|
||||
bool shouldRecreatePacket = false;
|
||||
|
|
Loading…
Reference in a new issue