mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-01-22 23:24:25 +01:00
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>