Romain Vimont 4315be1648 Use random name for device socket
For the initial connection between the device and the computer, an adb
tunnel is established (with "adb reverse" or "adb forward").

The device-side of the tunnel is a local socket having the hard-coded
name "scrcpy". This may cause issues when several scrcpy instances are
started in a few seconds for the same device, since they will try to
bind the same name.

To avoid conflicts, make the client generate a random UID, and append
this UID to the local socket name ("scrcpy_01234567").
2023-01-27 21:51:59 +01:00
..
2022-04-12 23:51:05 +02:00
2022-06-09 15:02:42 +02:00
2022-06-09 15:02:42 +02:00
2023-01-27 21:51:59 +01:00
2023-01-27 21:51:59 +01:00
2022-07-19 12:15:06 +02:00
2022-03-22 21:08:08 +01:00