anchor.diff:      gen_udp:send(State#state.sock, Ip, Port, mochijson2:encode(Msg)),
       {noreply, State}.
   
  -handle_info({udp, _Socket, {A,B,C,D}=Ip, _InPortNo, Packet}, State) ->
  +% could me a msg from broadcast socket, or private one (meaning a direct reply):
  +handle_info({udp, _Sock, {A,B,C,D}=Ip, _InPortNo, Packet}, State) ->
       ?LOG(debug, "received msg: ~s", [Packet]),
       {struct, L} = mochijson2:decode(Packet),
       case proplists:get_value(<<"_msgtype">>,L) of
  
positive.code: 		[{Qid, true}] -> 
  			{noreply, State};
  		_ ->
  			ets:insert(State#state.seenqids, {Qid,true}),
  			Msg = {struct, [ {<<"_msgtype">>, <<"rq">>},{<<"qid">>,Qid} | Parts ]},
  			gen_udp:send(State#state.sock, State#state.broadcast, State#state.port, mochijson2:encode(Msg)),
  
negative.code: -export([init/1, handle_call/3, handle_cast/2, handle_info/2,
       terminate/2, code_change/3]).
  
  -record(state, {sock, sockp, seenqids, broadcast, port}).
  
  -define(BROADCAST, {239,255,0,1}). % default, can be changed in config
  -define(PORT, 60210). % can be changed in config
  