public void write(String chunk_uuid, String chunk)  {
		Socket client = null;
		try {
			client = new Socket(InetAddress.getLocalHost(), port); // 򱾻port˿ڷͻ
		} catch (Exception e) {
			// TODO: handle exception
			System.out.println("No server");			
		}
		ObjectOutputStream out = null;
		try {
			out = new ObjectOutputStream(
					client.getOutputStream());
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		try {
			ObjectInputStream in = new ObjectInputStream(client.getInputStream());
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}		
		String[] s = new String[] { "write", chunk_uuid, chunk};
		try {
			out.writeObject(s);
			out.flush(); // ˢʹServerյַ
			client.close();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}  // 
	}