-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
(Windows) net_io_counters() overflow issue #554
Conversation
Signed-off-by: baneyue <[email protected]>
Which issue are you trying to address here and why do we need this? Is this about #501? |
sorry, I should ticket an issue first. It' about the |
Ah OK, so the problem here is that net_io_counter() may overflow. Question: does this work on 32 bit versions as well? |
sorry for late reply, as the MSDN does not note the api should be used on 32 or 64 bit Windows, so I guess it should work for 32bit ;-) One thing for sure is that the api will support Windows Vista and above. |
We still support Windows XP though. Does the doc mentions that this is Vista+ only? |
Yes, Vista+ only for sure. |
Well, in this case we need the necessary workaround to support this in Windows XP as well. |
Sorry for the big delay. Can you please update this PR (it is no longer mergeable)? |
I would like to push this forward but I want to make sure it won't break Windows XP first. Can somebody please check (my virtualized XP box no longer works)? |
This was fixed in #835 maintaining backward compatibility with Windows XP. Closing this out. |
not tested cause' I don't have vs2010
Signed-off-by: baneyue [email protected]