anchor.diff:  	    Error
       end.
   
  -client_await_continue_signal(#client{parent = Parent} = State, Timeout) ->
  -    receive
  -	{continue, Parent} ->
  -	    {ok, State}
  -    after Timeout ->
  -	    {error, timeout}
  -    end;
   client_await_continue_signal(#{parent := Parent} = State, Timeout) ->
       receive
   	{continue, Parent} ->
  
positive.code:     {ok, State}.
  
  server_await_nothing(State, Timeout) 
    when is_record(State, server) ->
      receive 
  	Any ->
  	    p("received unexpected event: ~p", [Any]),
  	    {error, {unexpected_event, Any}}
  
      after Timeout ->
  	    {ok, State}
      end;
  server_await_nothing(State, Timeout) 
    when is_map(State) ->
      receive 
  	Any ->
  
negative.code:     megaco_udp:close(Handle),
      {ok, State#{handle => undefined, control_pid => undefined}}.
  
  server_stop_transport(#{transport_ref := Ref} = State) 
    when (Ref =/= undefined) ->
      megaco_udp:stop_transport(Ref),
  