Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enet debug info, what happen? #167

Open
Eric-Chen-CN opened this issue Jul 30, 2021 · 1 comment
Open

enet debug info, what happen? #167

Eric-Chen-CN opened this issue Jul 30, 2021 · 1 comment

Comments

@Eric-Chen-CN
Copy link

Eric-Chen-CN commented Jul 30, 2021

the enet version: 1.3.17 and all the packets are sent with ENET_PACKET_FLAG_RELIABLE.

What happen to the enet debug with follows information?

peer 0: 0.001053%+-0.002121% packet loss, 10+-7 ms round trip time, 1.000000% throttle, 103 outgoing, 0/0 incoming
peer 0: 0.009384%+-0.018265% packet loss, 8+-5 ms round trip time, 1.000000% throttle, 0 outgoing, 0/0 incoming
peer 0: 0.008209%+-0.016037% packet loss, 8+-5 ms round trip time, 1.000000% throttle, 0 outgoing, 0/0 incoming
peer 0: 0.007172%+-0.014069% packet loss, 8+-4 ms round trip time, 1.000000% throttle, 0 outgoing, 0/0 incoming
peer 0: 0.006271%+-0.012344% packet loss, 8+-4 ms round trip time, 1.000000% throttle, 0 outgoing, 0/0 incoming
peer 0: 0.005478%+-0.010818% packet loss, 8+-4 ms round trip time, 1.000000% throttle, 0 outgoing, 0/0 incoming
peer 0: 0.004791%+-0.009476% packet loss, 8+-3 ms round trip time, 1.000000% throttle, 69 outgoing, 0/0 incoming
peer 0: 0.004181%+-0.008301% packet loss, 8+-3 ms round trip time, 1.000000% throttle, 51 outgoing, 0/0 incoming
peer 0: 0.003647%+-0.007263% packet loss, 9+-3 ms round trip time, 1.000000% throttle, 30 outgoing, 0/0 incoming
peer 0: 0.004333%+-0.006836% packet loss, 8+-4 ms round trip time, 1.000000% throttle, 0 outgoing, 0/0 incoming
peer 0: 0.003784%+-0.006210% packet loss, 8+-4 ms round trip time, 1.000000% throttle, 0 outgoing, 0/0 incoming
peer 0: 0.003311%+-0.005600% packet loss, 8+-4 ms round trip time, 1.000000% throttle, 0 outgoing, 0/0 incoming
peer 0: 0.002884%+-0.005020% packet loss, 8+-4 ms round trip time, 1.000000% throttle, 0 outgoing, 0/0 incoming
peer 0: 0.002518%+-0.004486% packet loss, 8+-4 ms round trip time, 1.000000% throttle, 36 outgoing, 0/0 incoming
peer 0: 0.002197%+-0.003983% packet loss, 8+-3 ms round trip time, 1.000000% throttle, 136 outgoing, 0/0 incoming
peer 0: 0.001923%+-0.003525% packet loss, 8+-3 ms round trip time, 1.000000% throttle, 14 outgoing, 0/0 incoming

@dbechrd
Copy link

dbechrd commented Oct 25, 2021

You need to #define ENET_DEBUG to tell ENet to print this info.
See:

enet/protocol.c

Line 1628 in 74cea7a

#ifdef ENET_DEBUG

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants