Question: software applications and design java language ourse Hidet Cleer my choice For a multi client/server communication thread is created to handle the communication with each


software applications and design java language
ourse Hidet Cleer my choice For a multi client/server communication thread is created to handle the communication with each user the used code is the following new Thread()-> try out.append("Server started .."); 3S = new ServerSocket (6666); int counter = 0; while (true) //out.append("Server is listining .." + " "); 3 = ss.accept(); //establishes connection counter++; out.append(">>" + "Client No:" + counter + " started!"); HandleClient hc = new HandleClient (s, counter); new Thread (hc).start(); catch (Exception e) { System.out.println(e); 3 1).start(); Activate Windows Go to Settings to activate Windows Select the correct statements in the following more than one answer may be correct) sa This course COUTEGE while (true) { //out.append("Server is listining 3 = ss.accept(); //establishes connection counter++; out.append(">>" + "Client No:" + counter + " started!"); Handleclient hc = new Handleclient (s, counter); new Thread (hc).start(); 1 } catch (Exception e) { System.out.println(e); 1 }).start(); Select the correct statements in the following. (more than one answer may be correct) Select one or more: HandleClient thread includes creating a server socket to start the server. HandleClient thread includes accepting the connection with the client. HandleClient thread includes reading the messages from the client, HandleClient thread includes writing the messages to the client. Activate Windows Go to Settings to activate Windows
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
