readme corrections

This commit is contained in:
knaccc
2019-01-21 02:25:35 +00:00
parent 990c09f5b0
commit fcc715718a
3 changed files with 11 additions and 9 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ public class Main {
p.put("router.sharePercentage","80");
// allow default properties to be overridden via command line args, e.g. --i2p.dir.base=/usr/share/i2p
for(String arg : args) {
for(var arg : args) {
if(arg.startsWith("--")) {
String[] s = arg.split("=");
String argName = s[0].substring("--".length());
@@ -33,7 +33,7 @@ public class TunnelControl implements Runnable {
// listen for socket connections to the tunnel controller.
// listen for the commands on port 30000:
// server.create <host> <port> // returns a newly created destination public key, which will listen for i2p connections and forward them to the specified host and port
// server.destroy <i2p destination public key> // closes the tunnel listening for connections on the specified port, and returns OK
// server.destroy <i2p destination public key> // closes the tunnel listening for connections on the specified destination public key, and returns OK
// client.create <i2p destination public key> // returns a newly created localhost port number, where connections will be sent over I2P to the destination public key
// client.destroy <port> // closes the tunnel listening for connections on the specified port, and returns OK
// socks.create <port> // creates a socks proxy listening on the specified port