Modifier and Type | Method and Description |
---|---|
static boolean |
useTCP(InetAddress address,
int port)
Use TCP to communicate.
|
static boolean |
useUSB()
Use USB to communicate.
|
public static boolean useUSB()
public static boolean useTCP(InetAddress address, int port)
address
- The host address.port
- The port.
Communication.useTCP(InetAddress.getByName("127.0.0.1"), 8888);
Copyright © 2024. All rights reserved.