public static void main(String args[]) {
		try {
			ServerSocket server = new ServerSocket(port);
			System.out.println("Server intialized");
			
			while(true) { //After a connection is received, another connection can't be accepted until the code looped back to (below)
				Socket client = server.accept(); //here
				Runnable runnable = new Server(client, ++count);
				Thread thread = new Thread(runnable);
				thread.start();
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	}