[w32socket] Translate some errno codes to WSA_ errors imprecisely.
commited0063b4d593436c531e851054127a64a133be18
authorAleksey Kliger <alklig@microsoft.com>
Mon, 19 Aug 2019 16:21:21 +0000 (19 12:21 -0400)
committerAleksey Kliger (λgeek) <akliger@gmail.com>
Tue, 20 Aug 2019 20:13:41 +0000 (20 16:13 -0400)
treede3be1129bdd58b50b4001c077b884c820e863a1
parentc38044d74fcdc7bedda20153917bf1ed63f0eedc
[w32socket] Translate some errno codes to WSA_ errors imprecisely.

These aren't a perfect match, but better than falling into the `default` case
where Mono asserts and crashes.

Addresses part of https://github.com/mono/mono/issues/16024
mono/metadata/w32socket-unix.c