anchor.diff:  
   terminate(_Reason, State) ->
       gen_udp:close(State#state.sock),
  +    gen_udp:close(State#state.sockp),
       ok.
   
   code_change(_OldVsn, State, _Extra) ->
  
positive.code:             ?LOG(info, "LAN dispatching query ~s", [Qid]),
  			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)),
  			{noreply, State}
  	end;
   
  
negative.code:                                      proplists:delete(<<"port">>, Parts)))
                           ]}}
                      ]},
      gen_udp:send(State#state.sockp, Ip, Port, mochijson2:encode(Msg)),
      {noreply, State}.
  
  % msg on the broadcast socket = a new incoming query
  