anchor.diff:  
   
   %%--------------------------------------------------------------------
  -%% Function: handle_cast/2
  -%% Description: Handling cast messages
  -%% Returns: {noreply, State}          |
  -%%          {noreply, State, Timeout} |
  -%%          {stop, Reason, State}            (terminate/2 is called)
  +%% Function: handle_cast(Msg, State)
  +%% Descrip.: Handling cast messages
  +%% Returns : {noreply, State}          |
  +%%           {noreply, State, Timeout} |
  +%%           {stop, Reason, State}            (terminate/2 is called)
   %%--------------------------------------------------------------------
   handle_cast(Msg, State) ->
       logger:log(error, "Sipsocket UDP: Received unknown gen_server cast : ~p", [Msg]),
       {noreply, State}.
   
   %%--------------------------------------------------------------------
  -%% Function: handle_info/2
  -%% Description: Handling all non call/cast messages
  -%% Returns: {noreply, State}          |
  -%%          {noreply, State, Timeout} |
  -%%          {stop, Reason, State}            (terminate/2 is called)
  -%%--------------------------------------------------------------------
  -
  +%% Function: handle_info(Msg, State)
  +%% Descrip.: Handling all non call/cast messages
  +%% Returns : {noreply, State}          |
  +%%           {noreply, State, Timeout} |
  +%%           {stop, Reason, State}            (terminate/2 is called)
  +%%--------------------------------------------------------------------
  +
  +%%--------------------------------------------------------------------
  +%% Function: handle_info({udp, Socket, IPlist, InPortNo, Packet},
  +%%                       State)
  +%%           Socket   = term()
  +%%           IPlist   = term()
  +%%           InPortNo = integer()
  +%%           Packet   = list()
  +%% Descrip.: Handle data received (as a signal) from one of our
  +%%           sockets. Spawn sipserver:process() on each message.
  +%% Returns : {noreply, State}
  +%%--------------------------------------------------------------------
   handle_info({udp, Socket, IPlist, InPortNo, Packet}, State) ->
       Sv4 = State#state.socket,
       Sv6 = State#state.socket6,
  
positive.code: %%% Internal functions
  %%--------------------------------------------------------------------
  
  get_localaddr(Socket, DefaultAddr) ->
      case inet:sockname(Socket) of
  	{ok, {IPlist, LocalPort}} ->
  
negative.code: 	    {error, "sipsocked_udp failed"}
      end.
  
  %%--------------------------------------------------------------------
  %% Function: is_reliable_transport(_)
  %% Descrip.: No UDP protocol is reliable transport. Return false.
  %% Returns : false
  %%--------------------------------------------------------------------
  is_reliable_transport(_) ->
      false.
  