Change protocol version to 2.0

This commit is contained in:
Tobias Eidelpes 2021-01-05 14:45:45 +01:00
parent a9c8b45086
commit a9c4465a24
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ public class DMTPConnection implements Runnable {
try {
this.out = new PrintWriter(socket.getOutputStream(), true);
this.in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
out.println("ok DMTP");
out.println("ok DMTP2.0");
String userInput;

View File

@ -29,7 +29,7 @@ public class ClientConnection implements Runnable {
try {
this.out = new PrintWriter(socket.getOutputStream(), true);
this.in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
out.println("ok DMTP");
out.println("ok DMTP2.0");
String userInput;