Socket clientSocket = servSock.accept();
synchronized(servSock) { Socket clientSocket = servSock.accept(); }
		public void run() 		{			/* Wait for a connection */			while (true){				try {					System.out.println( getName() + " waiting");					Socket clientSocket = servSock.accept();					System.out.println(getName() + " starting, IP=" + 						clientSocket.getInetAddress());					DataInputStream is = new DataInputStream(						clientSocket.getInputStream());					PrintStream os = new PrintStream(						clientSocket.getOutputStream(), true);					String line;					while ((line = is.readLine()) != null) {						// System.out.println(">> " + line);						os.print(line + "\r\n");						os.flush();					}					System.out.println(getName() + " ENDED ");					clientSocket.close();				} catch (IOException ex) {					System.out.println(getName() + ": IO Error on socket " + ex);					return;				}			}		}