scrcpy/app/src
Romain Vimont dc7fcf3c7a Accept port range
Accept a range of ports to listen to, so that it does not fail if
another instance of scrcpy is currently starting.

The range can be passed via the command line:

    scrcpy -p 27183:27186
    scrcpy -p 27183  # implicitly 27183:27183, as before

The default is 27183:27199.

Closes #951 <https://github.com/Genymobile/scrcpy/issues/951>
2020-01-18 17:21:00 +01:00
..
android Remove AINPUT_SOURCE_ANY value 2018-08-12 15:35:29 +02:00
sys Fix include order 2020-01-17 21:00:14 +01:00
util Add util function to parse a list of integers 2020-01-18 17:21:00 +01:00
cli.c Accept port range 2020-01-18 17:21:00 +01:00
cli.h Move command-line parsing to a separate file 2019-12-08 23:18:57 +01:00
command.c Fix utf-8 char path in windows 2019-12-14 18:47:30 +01:00
command.h Refuse to push a non-regular file server 2019-12-05 21:07:11 +01:00
common.h Accept port range 2020-01-18 17:21:00 +01:00
compat.h Disable X11 compositor bypass 2019-05-05 17:35:00 +02:00
control_msg.c Add shortcut to rotate screen 2019-12-04 22:03:25 +01:00
control_msg.h Add shortcut to rotate screen 2019-12-04 22:03:25 +01:00
controller.c Replace SDL_assert() by assert() 2019-11-27 21:19:46 +01:00
controller.h Move utilities to util/ 2019-11-24 11:53:23 +01:00
decoder.c Remove unused includes 2019-11-27 21:40:54 +01:00
decoder.h Include config.h everywhere 2019-09-29 22:39:53 +02:00
device.c Move utilities to util/ 2019-11-24 11:53:23 +01:00
device.h Move utilities to util/ 2019-11-24 11:53:23 +01:00
device_msg.c Replace SDL_assert() by assert() 2019-11-27 21:19:46 +01:00
device_msg.h Include config.h everywhere 2019-09-29 22:39:53 +02:00
event_converter.c Add --prefer-text option 2019-11-07 19:01:35 +01:00
event_converter.h Add --prefer-text option 2019-11-07 19:01:35 +01:00
events.h Add stream layer 2019-03-02 18:45:45 +01:00
file_handler.c Replace SDL_assert() by assert() 2019-11-27 21:19:46 +01:00
file_handler.h Move utilities to util/ 2019-11-24 11:53:23 +01:00
fps_counter.c Replace SDL_assert() by assert() 2019-11-27 21:19:46 +01:00
fps_counter.h Include config.h everywhere 2019-09-29 22:39:53 +02:00
icon.xpm Add window icon 2018-02-05 14:46:00 +01:00
input_manager.c Add shortcut to rotate screen 2019-12-04 22:03:25 +01:00
input_manager.h Add --prefer-text option 2019-11-07 19:01:35 +01:00
main.c Configure log priority early 2019-12-09 22:31:14 +01:00
receiver.c Replace SDL_assert() by assert() 2019-11-27 21:19:46 +01:00
receiver.h Move utilities to util/ 2019-11-24 11:53:23 +01:00
recorder.c Replace SDL_assert() by assert() 2019-11-27 21:19:46 +01:00
recorder.h Move utilities to util/ 2019-11-24 11:53:23 +01:00
scrcpy.c Accept port range 2020-01-18 17:21:00 +01:00
scrcpy.h Accept port range 2020-01-18 17:21:00 +01:00
screen.c Replace SDL_assert() by assert() 2019-11-27 21:19:46 +01:00
screen.h Add option to disable window decoration 2019-11-15 18:59:40 +01:00
server.c Accept port range 2020-01-18 17:21:00 +01:00
server.h Accept port range 2020-01-18 17:21:00 +01:00
stream.c Remove unused includes 2019-11-27 21:40:54 +01:00
stream.h Move utilities to util/ 2019-11-24 11:53:23 +01:00
tiny_xpm.c Replace SDL_assert() by assert() 2019-11-27 21:19:46 +01:00
tiny_xpm.h Include config.h everywhere 2019-09-29 22:39:53 +02:00
video_buffer.c Replace SDL_assert() by assert() 2019-11-27 21:19:46 +01:00
video_buffer.h Include config.h everywhere 2019-09-29 22:39:53 +02:00