Change protocol version to 2.0
This commit is contained in:
parent
a9c8b45086
commit
a9c4465a24
@ -39,7 +39,7 @@ public class DMTPConnection implements Runnable {
|
|||||||
try {
|
try {
|
||||||
this.out = new PrintWriter(socket.getOutputStream(), true);
|
this.out = new PrintWriter(socket.getOutputStream(), true);
|
||||||
this.in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
|
this.in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
|
||||||
out.println("ok DMTP");
|
out.println("ok DMTP2.0");
|
||||||
|
|
||||||
String userInput;
|
String userInput;
|
||||||
|
|
||||||
|
|||||||
@ -29,7 +29,7 @@ public class ClientConnection implements Runnable {
|
|||||||
try {
|
try {
|
||||||
this.out = new PrintWriter(socket.getOutputStream(), true);
|
this.out = new PrintWriter(socket.getOutputStream(), true);
|
||||||
this.in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
|
this.in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
|
||||||
out.println("ok DMTP");
|
out.println("ok DMTP2.0");
|
||||||
|
|
||||||
String userInput;
|
String userInput;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user