problem with threads and multiple servers
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master There was a failure building this commit Details
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head There was a failure building this commit Details

pull/23/head
js 5 years ago committed by Louis
parent 9fa68b9e98
commit ddaedfcf92

@ -46,6 +46,10 @@ public class ClientP2P {
for (String str : c.hostList){
ClientManagementUDP cmudp = new ClientManagementUDP(c.directories.getDataHomeDirectory(), str, c.port);
t = new Thread(cmudp);
/**
t.setName("client P2P-JAVA-PROJECT");
t.start();
*/
}
//ClientManagementUDP cmudp = new ClientManagementUDP(c.directories.getDataHomeDirectory(), c.host, c.port);
break;

Loading…
Cancel
Save