public boolean  conn2Server(){
		try{
	 //1.һ˵Socket
	    client=new  Socket(IMsgConstance.serverIP,IMsgConstance.serverPort);
		//2.õ
		 InputStream ins=client.getInputStream();
		//3.װΪɶдԭʼ͵
 this.dous=new DataOutputStream(client.getOutputStream());
 this.dins=new DataInputStream(client.getInputStream());
	     return true;
		}catch(Exception ef){
			ef.printStackTrace();
		}
		return false;
	}