mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-03 06:39:39 +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
|
static socket_t
|
||||||
listen_on_port(uint16_t port) {
|
listen_on_port(uint16_t port) {
|
||||||
#define IPV4_LOCALHOST 0x7F000001
|
#define IPV4_LOCALHOST 0x7F000001
|
||||||
return net_listen(IPV4_LOCALHOST, port, 1);
|
return net_listen(IPV4_LOCALHOST, port, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool
|
static bool
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue