mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-04-20 19:45:00 +00:00
Improved stability of making connections in reverse mode.
This commit is contained in:
parent
d02789ce21
commit
f785d712c8
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ disable_tunnel(struct server *server) {
|
|||
static socket_t
|
||||
listen_on_port(uint16_t port) {
|
||||
#define IPV4_LOCALHOST 0x7F000001
|
||||
return net_listen(IPV4_LOCALHOST, port, 1);
|
||||
return net_listen(IPV4_LOCALHOST, port, 2);
|
||||
}
|
||||
|
||||
static bool
|
||||
|
|
Loading…
Add table
Reference in a new issue