scrcpy/app/src/adb
Romain Vimont 246719f1d6 Reset TCP/IP connection with a '+' prefix
When running scrcpy with --tcpip=xx.xx.xx.xx, to make sure a new working
connection is established, it was first disconnected by a call to:

    adb disconnect <addr>

However, this caused all running instances to be killed. Running several
instances of scrcpy on the same device is now useful with virtual
displays, so change the default behavior to NOT disconnect.

To force a reconnection, a '+' prefix can be added:

    scrcpy --tcpip=+192.168.0.x

Fixes #5562 <https://github.com/Genymobile/scrcpy/issues/5562>
2024-12-04 13:11:43 +01:00
..
adb.c Reset TCP/IP connection with a '+' prefix 2024-12-04 13:11:43 +01:00
adb.h Load ADB value using sc_get_env() 2024-12-02 18:23:18 +01:00
adb_device.c Add missing include 2022-04-12 23:51:05 +02:00
adb_device.h Consider emulators as TCP/IP devices 2022-03-22 21:08:08 +01:00
adb_parser.c Declare local functions as static 2023-10-24 23:06:57 +02:00
adb_parser.h Rename function to simplify 2022-06-09 15:02:42 +02:00
adb_tunnel.c Use random name for device socket 2023-01-27 21:51:59 +01:00
adb_tunnel.h Use random name for device socket 2023-01-27 21:51:59 +01:00