public static void sendFileRes
	(
		Socket sckIn
		, String strId
		, boolean blnRes
	)
		throws Exception
	{
		if
		(
			strId != null && strId.length() > 0
		)
		{
			EzimDtxSemantics.initByteArrays();

			String strRes = blnRes
				? EzimDtxFileSemantics.OK
				: EzimDtxFileSemantics.NG;

			OutputStream osTmp = sckIn.getOutputStream();

			// create necessary header fields
			Hashtable<String, String> htTmp
				= new Hashtable<String, String>();

			htTmp.put
			(
				EzimDtxSemantics.HDR_CTYPE
				, EzimDtxFileSemantics.CTYPE_FILERES
			);
			htTmp.put
			(
				EzimDtxSemantics.HDR_CLEN
				, "0"
			);
			htTmp.put
			(
				EzimDtxFileSemantics.HDR_FILEREQID
				, strId
			);
			htTmp.put
			(
				EzimDtxFileSemantics.HDR_FILERES
				, strRes
			);

			// output header in bytes
			EzimDtxSemantics.sendHeaderBytes(sckIn, htTmp);

			// make sure everything is sent
			osTmp.flush();
		}
	}