Remove the "adb reverse" tunnel immediately

As soon as we accepted a connection, we can remove the "adb reverse"
tunnel.
This commit is contained in:
Romain Vimont
2018-02-08 17:38:38 +01:00
parent 3b06e7d500
commit e1749a0c09
3 changed files with 9 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ SDL_bool server_start(struct server *server, const char *serial, Uint16 local_po
Uint16 max_size, Uint32 bit_rate);
// block until the communication with the server is established
TCPsocket server_connect_to(struct server *server);
TCPsocket server_connect_to(struct server *server, const char *serial);
// disconnect and kill the server process
void server_stop(struct server *server, const char *serial);