Clearer denomination for public versus binding server params

This commit is contained in:
Louis Royer 2020-04-13 22:17:11 +02:00
parent 613766ee46
commit f8ab972f34
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ Documentation of the protocol used can be found in [doc/protocol.md](doc/protoco
### Application CLI (Client+Server) ### Application CLI (Client+Server)
- Interactive mode: `java clientP2P.ClientP2P` - 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: `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) ### Application GUI (Client+Server)
- `java gui.Gui` - `java gui.Gui`

View File

@ -79,9 +79,9 @@ public class ClientP2P {
System.out.println("or"); System.out.println("or");
System.out.println("\tjava clientP2P.ClientP2P -- " + System.out.println("\tjava clientP2P.ClientP2P -- " +
"<clientTransportProtocol> " + "<clientTransportProtocol> " +
"<integratedServerHOSTNAME> <integratedServerPORT> " + "<integratedServerPublicHOSTNAME> <integratedServerPublicPORT> " +
"<trackerHOSTNAME> <trackerPORT> " + "<trackerHOSTNAME> <trackerPORT> " +
"<integratedServerBindHOSTNAME> <integratedServerBindPORT>"); "<integratedServerBindingHOSTNAME> <integratedServerBindingPORT>");
System.out.println("(" + trackerPortRange + " and " + serverPortRange +")"); System.out.println("(" + trackerPortRange + " and " + serverPortRange +")");
} }