anchor.diff:  %% @doc
   connect(Conn) -> cast({connect, Conn, now()}).
   
  +-spec connected() -> [{pid(), non_neg_integer()}].
  +%% @doc
  +connected() -> call(connected).
  +
   -spec counter(atom(), pos_integer()) -> ok.
   %% @doc
   counter(Stat, Step) -> cast({counter, Stat, Step}).
  
positive.code:                  normal -> disconnect.soft;
                   _Other -> disconnect.hard
               end,
      stat(State, timer, duration, now_diff(now(), Started)),
      stat(State, counter, Status, 1),
      {noreply, State}.
  
  
negative.code:     {ok, Sock} = gen_udp:open(0, [binary]),
      {ok, #s{sock = Sock, host = Host, port = Port, ns = Ns}}.
  
  -spec handle_call(connected, _, #s{}) -> {reply, ok, #s{}}.
  %% @hidden
  handle_call(connected, _From, State) ->
      Head = {?PROP('_'), '_', '_'},
      Results = gproc:select([{Head, [], ['$$']}]),
      Conns = [{P, elapsed(T)} || [?PROP(P), _, T] <- Results],
      {reply, Conns, State}.
  
  -spec handle_cast(message(), #s{}) -> {noreply, #s{}}.
  %% listener creates a myxi_connection
  