akakeiz / lidgren-network-gen3

Automatically exported from code.google.com/p/lidgren-network-gen3
0 stars 0 forks source link

SentBytes is only functions under DEBUG #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a lidgren application
2. Try to access a NetConnection.Statistics.SentBytes

What is the expected output? What do you see instead?
The expected output is an incrementing number (IE 0, 5, 5035, 351983). Instead, 
it always returns 0.

What version of the product are you using? On what operating system?
March 12 2011

Please provide any additional information below.
The internal PacketSent which increases m_sentBytes is under the conditional 
"DEBUG". It's a a very easy thing to fix (comment out the conditional or run 
under debug) but is a bit confusing is all!

Original issue reported on code.google.com by akimoriy...@gmail.com on 12 Mar 2011 at 7:51

GoogleCodeExporter commented 9 years ago
This is by design. However, you can (now) enable statistics for RELEASE builds 
also; see the new wiki page at: 
http://code.google.com/p/lidgren-network-gen3/wiki/Statistics

Original comment by lidg...@gmail.com on 26 Mar 2011 at 8:32