Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -4263,7 +4263,7 @@ void Application::processDatagrams() { · 4262 unmodified lines | ||
| 4263 | 4263 | HifiSockAddr senderSockAddr; |
| 4264 | 4264 | ssize_t bytesReceived; |
| 4265 | 4265 | |
| 4266 | − if (NodeList::getInstance()->getNodeSocket().hasPendingDatagrams() && | |
| 4266 | + while (NodeList::getInstance()->getNodeSocket().hasPendingDatagrams() && | |
| 4267 | 4267 | (bytesReceived = NodeList::getInstance()->getNodeSocket().readDatagram((char*) _incomingPacket, |
| 4268 | 4268 | MAX_PACKET_SIZE, |
| 4269 | 4269 | senderSockAddr.getAddressPointer(), |