mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 22:36:39 +02:00
Add todo to move PacketReceiver to its own thread
This commit is contained in:
parent
c841867044
commit
83dedd0a15
1 changed files with 2 additions and 0 deletions
|
@ -93,6 +93,8 @@ LimitedNodeList::LimitedNodeList(unsigned short socketListenPort, unsigned short
|
||||||
// check the local socket right now
|
// check the local socket right now
|
||||||
updateLocalSockAddr();
|
updateLocalSockAddr();
|
||||||
|
|
||||||
|
// TODO: Create a new thread, and move PacketReceiver to it
|
||||||
|
|
||||||
connect(&_nodeSocket, &QUdpSocket::readyRead, &_packetReceiver, &PacketReceiver::processDatagrams);
|
connect(&_nodeSocket, &QUdpSocket::readyRead, &_packetReceiver, &PacketReceiver::processDatagrams);
|
||||||
|
|
||||||
_packetStatTimer.start();
|
_packetStatTimer.start();
|
||||||
|
|
Loading…
Reference in a new issue