Add todo to move PacketReceiver to its own thread

This commit is contained in:
Ryan Huffman 2015-07-10 09:37:43 -07:00
parent c841867044
commit 83dedd0a15

View file

@ -93,6 +93,8 @@ LimitedNodeList::LimitedNodeList(unsigned short socketListenPort, unsigned short
// check the local socket right now
updateLocalSockAddr();
// TODO: Create a new thread, and move PacketReceiver to it
connect(&_nodeSocket, &QUdpSocket::readyRead, &_packetReceiver, &PacketReceiver::processDatagrams);
_packetStatTimer.start();