mirror of
https://github.com/revanced/jadb.git
synced 2025-02-11 09:36:48 +01:00
Allowing clients to specify host & port
This commit is contained in:
parent
f3031c254b
commit
0e02f9d7d8
@ -17,8 +17,13 @@ public class JadbConnection {
|
||||
|
||||
public JadbConnection() throws UnknownHostException, IOException
|
||||
{
|
||||
host = "localhost";
|
||||
port = DEFAULTPORT;
|
||||
this("localhost", DEFAULTPORT);
|
||||
}
|
||||
|
||||
public JadbConnection(String host, int port) throws UnknownHostException, IOException
|
||||
{
|
||||
this.host = host;
|
||||
this.port = port;
|
||||
|
||||
main = createTransport();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user