Clearer denomination for public versus binding server params
This commit is contained in:
parent
613766ee46
commit
f8ab972f34
@ -14,7 +14,7 @@ Documentation of the protocol used can be found in [doc/protocol.md](doc/protoco
|
||||
### Application CLI (Client+Server)
|
||||
- Interactive mode: `java clientP2P.ClientP2P`
|
||||
- CLI Arguments mode: `java clientP2P.ClientP2P -- <clientTransportProtocol> <integratedServerHOSTNAME> <integratedServerPORT> <trackerHOSTNAME> <trackerPORT>` (default tracker port 6969 (range 7000 -> 7999) and server port: server 7070 (range 7000->7070))
|
||||
- CLI Arguments mode when using with a nat: `java clientP2P.ClientP2P -- <clientTransportProtocol> <integratedServerHOSTNAME> <integratedServerPORT> <trackerHOSTNAME> <trackerPORT> <serverBindingHOSTNAME> <serverBindingPORT>` (default tracker port 6969 (range 7000 -> 7999) and server port: server 7070 (range 7000->7070))
|
||||
- CLI Arguments mode when using with a nat: `java clientP2P.ClientP2P -- <clientTransportProtocol> <integratedServerPublicHOSTNAME> <integratedServerPublicPORT> <trackerHOSTNAME> <trackerPORT> <serverBindingHOSTNAME> <serverBindingPORT>` (default tracker port 6969 (range 7000 -> 7999) and server port: server 7070 (range 7000->7070))
|
||||
|
||||
### Application GUI (Client+Server)
|
||||
- `java gui.Gui`
|
||||
|
@ -79,9 +79,9 @@ public class ClientP2P {
|
||||
System.out.println("or");
|
||||
System.out.println("\tjava clientP2P.ClientP2P -- " +
|
||||
"<clientTransportProtocol> " +
|
||||
"<integratedServerHOSTNAME> <integratedServerPORT> " +
|
||||
"<integratedServerPublicHOSTNAME> <integratedServerPublicPORT> " +
|
||||
"<trackerHOSTNAME> <trackerPORT> " +
|
||||
"<integratedServerBindHOSTNAME> <integratedServerBindPORT>");
|
||||
"<integratedServerBindingHOSTNAME> <integratedServerBindingPORT>");
|
||||
System.out.println("(" + trackerPortRange + " and " + serverPortRange +")");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user