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>
Showing
想要评论请 注册 或 登录