@Override
	public void open(ChannelHandlerContext ctx) {
		String msg = "HelloServer";
		ByteBuffer buff = ByteBuffer.allocate(2);
		short len = (short) msg.getBytes().length;
		buff.putShort(len);
		buff.flip();
		ctx.write(buff);
		ctx.write(ByteBuffer.wrap(msg.getBytes()));

		// llllllllll

		ByteBuffer buff1 = ByteBuffer.allocate(2);
		msg = "123456789abcdefgh";
		buff1.putShort((short) msg.getBytes().length);
		buff1.flip();
		ctx.write(buff1);
		try {
			Thread.sleep(10000);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		ctx.write(ByteBuffer.wrap(msg.getBytes()));

	}