added totalSentData, totalSentPackets, totalReceivedData, totalReceivedPackets

This commit is contained in:
eihrul
2010-05-14 23:41:14 +00:00
parent 94a1e8879f
commit 72525fbca1
4 changed files with 19 additions and 1 deletions
+5
View File
@@ -79,6 +79,11 @@ enet_host_create (const ENetAddress * address, size_t peerCount, enet_uint32 inc
host -> receivedAddress.port = 0;
host -> receivedDataLength = 0;
host -> totalSentData = 0;
host -> totalSentPackets = 0;
host -> totalReceivedData = 0;
host -> totalReceivedPackets = 0;
enet_list_clear (& host -> dispatchQueue);
for (currentPeer = host -> peers;