Andrew Kelley 61850f8883 std: Windows: WSASocketW ensures WSAStartup
When WSASocketW gets WSANOTINITIALISED, now it will lock a mutex to
safely call WSAStartup and then try again one time.

This implementation:
 * Does not use recursion
 * Contains a detailed doc comment explaining why things are how they are
 * Is careful about which errors are surfaced in the respective error
   sets. `std.os.socket` intentionally does not have "not initialised"
   as one of the possible errors.
2021-05-20 12:28:30 -07:00
..
2021-05-08 15:15:30 +03:00
2021-05-08 15:15:30 +03:00
2021-02-25 22:20:30 +02:00
2021-05-08 15:15:30 +03:00
2021-05-08 15:15:30 +03:00
2020-12-31 15:45:24 -08:00
2020-12-31 15:45:24 -08:00
2021-01-07 23:48:58 -08:00
2021-05-08 15:15:30 +03:00
2020-12-31 15:45:24 -08:00
2021-05-08 15:15:30 +03:00
2021-05-08 15:15:30 +03:00
2021-05-08 15:15:30 +03:00
2021-05-08 15:15:30 +03:00
2021-05-08 15:15:30 +03:00
2020-12-31 15:45:24 -08:00
2020-12-31 15:45:24 -08:00
2021-05-08 15:15:30 +03:00
2021-05-17 19:53:46 -07:00
2020-12-31 15:45:24 -08:00
2021-05-08 15:15:30 +03:00
2021-02-24 21:29:23 -07:00
2021-05-08 15:15:30 +03:00
2021-05-08 15:15:30 +03:00
2021-05-08 15:15:30 +03:00
2021-05-08 15:15:30 +03:00