public MsgHead readFromServer()throws Exception{
		 int totalLen=dins.readInt();
         LogTools.INFO(this.getClass(), "ͻ˶ϢܳΪ:"+totalLen);
		 byte[] data=new byte[totalLen-4];
		 dins.readFully(data); //ȡݿ
		 MsgHead msg=ToolsParseMsg.parseMsg(data);//ΪϢ
		 LogTools.INFO(this.getClass(), "ͻյϢ:"+msg);
		 return msg;
	}