Split network macro conditions
On Windows, interrupting a socket with shutdown() does not wake up accept() or read() calls, the socket must be closed. Introduce a new macro constant SC_SOCKET_CLOSE_ON_INTERRUPT, distinct of _WIN32, because Windows will not be the only platform exhibiting this behavior. Refs #5536 <https://github.com/Genymobile/scrcpy/issues/5536>
R
Romain Vimont committed
ff06b6dcc1dde8fb750191e07ba476b2de0c9927
Parent: 017a367