Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Network speed overflow #13

Open
hykilpikonna opened this issue Nov 6, 2023 · 0 comments
Open

Network speed overflow #13

hykilpikonna opened this issue Nov 6, 2023 · 0 comments

Comments

@hykilpikonna
Copy link

I have a pure fiber 10Gb connection on my mac, it overflows and become negative when it reaches > 268 Mbps (presumably you are storing the network speed as bits in signed int32)

image
image

You can fix this by making it unsigned int64 (long long) instead.

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

No branches or pull requests

1 participant