tcp multiple #32

Merged
louis_royer merged 11 commits from tcp into servs-multiples 2020-03-18 16:26:21 +01:00
2 changed files with 1 additions and 2 deletions
Showing only changes of commit 6af7cd5c7f - Show all commits

View File

@ -38,7 +38,7 @@ public class ClientDownloadPartTCP implements Runnable {
private volatile boolean stop;
private volatile boolean failed;
private String filename;
private DatagramSocket socket;
private Socket socket;
private volatile boolean noTask;
private String partsSubdir;
private static final long MAX_PARTIAL_SIZE = 4096;

View File

@ -13,7 +13,6 @@ import remoteException.VersionRemoteError;
import java.net.UnknownHostException;
import java.util.Scanner;
//import java.net.InetAddress;
import java.net.DatagramSocket;
//import java.net.SocketException;
import java.io.IOException;
import java.nio.file.Files;