Class PortForwarder
java.lang.Object
org.wpilib.net.PortForwarder
Forward ports to another host. This is primarily useful for accessing Ethernet-connected devices
from a computer tethered to the RoboRIO USB port.
-
Method Summary
-
Method Details
-
add
Forward a local TCP port to a remote host and port. Note that local ports less than 1024 won't work as a normal user.- Parameters:
port- local port numberremoteHost- remote IP address / DNS nameremotePort- remote port number
-
remove
public static void remove(int port) Stop TCP forwarding on a port.- Parameters:
port- local port number
-