Open rjrizzuto opened 5 months ago
It would be nice to have an enum member to map IP_GENERAL_FAILURE=11050
to, but I assume it would be platform specific. @wfurt are there other Windows-specific values in IPStatus
?
It seems like a catch all error code to report "other". I imagine other platforms might need that as well.
Triage: Not critical for 9.0. Moving to future. We'll take it into 9.0 if the time permits.
Hi, I am new here. I have looked into this a bit and was wondering if just adding GeneralFailure = 11050
to the enum IPStatus
is enough. I was also wondering if I should also change something in the MapV4TypeToIPStatus
and MapV6TypeToIPStatus
methods but here I would ask for help though.
Hi, I am new here. I have looked into this a bit and was wondering if just adding
GeneralFailure = 11050
to theenum IPStatus
is enough. I was also wondering if I should also change something in theMapV4TypeToIPStatus
andMapV6TypeToIPStatus
methods but here I would ask for help though.
Hello @piotreksda, this should be enough but while we were triaging this issue, we overlooked that IPStatus
is public API, so this should go through API Proposal
first, and only after then that we can implement this.
Description
11050 (general failure) is returned from a Ping.Send when wifi is turned off. That code is not listed in the enums for the IPStatus class
Reproduction Steps
Call Ping.Send with wifi is disabled. Print the reply.status field.
Expected behavior
GeneralFailure is printed
Actual behavior
11050 is printed
Regression?
No response
Known Workarounds
No response
Configuration
.net 8 Windows 11 x64 Unsure if it is specific to this platform - can't test on Linux currently
Other information
No response