public static void main (String args[]) throws Exception
	{
		int clientCount = 0;
		port = Integer.parseInt(args[0]);
		ServerSocket listener = new ServerSocket(port); 

		try
		{
			while (clientCount++ < maxConnections)
			{
				new ThreadServ (listener.accept(),clientCount).start();
				
				
			}

		}
		catch (IOException E)
		{
			System.out.println("Error establishing server socket");
		}
		finally
		{
			listener.close();
		}
	}