static boolean parseArguments(String args[]) {
		if (args.length < 2) {
			System.out
					.println("Syntax: java Snoop <server_name> <port_number> [optional args]");
			System.out.println("\nPossible values for [optional args]:");
			System.out
					.println("     -snoopPort            <local port number>");
			System.out
					.println("     -showAscii            <true|false>          default=true");
			System.out
					.println("     -showEbcdic           <true|false>          default=false");
			System.out.println("     -traceFilePrefix      <prefix>");
			System.out
					.println("     -lineSize             <line size value>     default=8");
			System.out
					.println("     -maxBytesInTraceFile  <max trace file size>");
			System.out
					.println("     -showTimestamps       <true|false>          default=false");
			return false;
		}
		
		serverName = args[0];
		serverPort = Integer.parseInt(args[1]);
		snoopPort = serverPort;
		traceFilePrefix = null;
		for (int index = 2; index < args.length; index++) {
			String curArg = args[index];
			index++;
			if (curArg.equalsIgnoreCase("-showAscii")) {
				showAscii = Boolean.valueOf(args[index]).booleanValue();
				continue;
			}
			if (curArg.equalsIgnoreCase("-showEbcdic")) {
				showEbcdic = Boolean.valueOf(args[index]).booleanValue();
				continue;
			}
			if (curArg.equalsIgnoreCase("-lineSize")) {
				lineSize = Integer.parseInt(args[index]);
				continue;
			}
			if (curArg.equalsIgnoreCase("-snoopPort")) {
				snoopPort = Integer.parseInt(args[index]);
				continue;
			}
			if (curArg.equalsIgnoreCase("-traceFilePrefix")) {
				traceFilePrefix = args[index];
				continue;
			}
			if (curArg.equalsIgnoreCase("-maxBytesInTraceFile")) {
				maxBytesInTraceFile = Integer.parseInt(args[index]);
				continue;
			}
			if (curArg.equalsIgnoreCase("-showTimestamps"))
				showTimestamps = Boolean.valueOf(args[index]).booleanValue();
		}

		return true;
	}