History

add support for sending unverified datagrams to nodes

ZappoMan committed 12 years ago

Commit 334f6881 parent 0e124ec3 files · +37 −1Browse files

Showing the changes to interface/src/Application.cpp (1 of 3 files). Show all

Unified · Split

interface/src/Application.cpp+1−1
@@ -2205,7 +2205,7 @@ void Application::queryOctree(NodeType_t serverType, PacketType packetType, Node · 2204 unmodified lines
22052205 int packetLength = endOfQueryPacket - queryPacket;
22062206
22072207 // make sure we still have an active socket
2208− nodeList->writeDatagram(reinterpret_cast<const char*>(queryPacket), packetLength, node);
2208+ nodeList->writeUnverifiedDatagram(reinterpret_cast<const char*>(queryPacket), packetLength, node);
22092209
22102210 // Feed number of bytes to corresponding channel of the bandwidth meter
22112211 _bandwidthMeter.outputStream(BandwidthMeter::VOXELS).updateValue(packetLength);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t