Files
scrcpy/app
Romain Vimont 943d264b35 Do not block on accept() if server died
The server may die before connecting to the client. In that case, the
client was blocked indefinitely (until Ctrl+C) on accept().

To avoid the problem, use a pipe and a select() before calling accept(),
so that the blocking call can be interrupted. Once accept() is called,
it is guaranteed not to block.
2020-03-29 11:24:11 +02:00
..
2020-03-28 23:56:37 +01:00