Retrieve correct error messages on Windows
For sockets functions, Windows does not store error codes in errno, so perror() does not print any error. Use WSAGetLastError() instead. Refs #2624 <https://github.com/Genymobile/scrcpy/issues/2624>
R
Romain Vimont committed
1d1c9f36f43314523187b8e1fb868d03718dcc79
Parent: 4d6dd9d