anchor.diff:           terminate/2,
            code_change/3]).
   
  --define(RDB_FILE, "/tmp/master/dump2.rdb").
  +-define(RDB_FILE, "/tmp/master/dump3.rdb").
   -define(SB, <<" ">>). % Binary space bar
   -define(CRLF, <<"\r\n">>).
   
  
positive.code:     handle_sock(sync(Sock), S);
  
  %% LOAD RDB DATA
  handle_cast({load_rdb, Bulk}, S = #state{socket=_Sock, state=caca}) -> % FIXME
      io:format("load_rdb data -> ~p ~n", [Bulk]),
      {noreply, S};
  
  
negative.code:     {error, "invalid rdb data"}.
  
  send_pkg(Sock, Pkt) when is_list(Pkt) ->
      io:format("pkt -> ~p ~n", [Pkt]),
      gen_tcp:send(Sock, [Pkt] ++ ?CRLF);
  send_pkg(_, _) ->
      throw("cannot send invalid tcp paquet").
  