private static void writeHead(DataOutputStream dous,MsgHead m)
	throws IOException{
		dous.writeInt(m.getTotalLen());
		dous.writeByte(m.getType());
		dous.writeInt(m.getDest());
		dous.writeInt(m.getSrc());
	}