public String createPortOutput(int port, boolean resolve) {
		
		String output = "";
		
		if (port == 0)
			return "0";
		
		if (tcpServices != null) {
			
			if ((port < 1024) && resolve) {
				// try to resolve port number into clear text
				if ((tcpServices != null) && (output=tcpServices[(int)port-1]) != null) {
				} else if ((udpServices != null) && (output=udpServices[(int)port-1]) != null) {
				} else
					output = "" + port;
			} else
				output = "" + port;
		} else
			output = "" + port;
		
		return output;
	}