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