anchor.diff:      connection_up(Pid, T, S),
       ok;
   
  -%% Peer process has a new connection that will be opened after
  -%% watchdog exchange. This message was added long after connection_up,
  -%% to communicate the information as soon as it's available. Leave
  +%% Watchdog has a new connection that will be opened after DW[RA]
  +%% exchange. This message was added long after connection_up, to
  +%% communicate the information as soon as it's available. Leave
   %% connection_up as is it for now, duplicated information and all.
   transition({reopen, Pid, T}, S) ->
       reopen(Pid, T, S),
       ok;
   
  -%% Peer process has left state open.
  +%% Watchdog has left state OKAY.
   transition({connection_down, Pid}, S) ->
       connection_down(Pid, S),
       ok;
   
  -%% Peer process has returned to state open.
  +%% Watchdog has returned to state OKAY.
   transition({connection_up, Pid}, S) ->
       connection_up(Pid, S),
       ok;
  
positive.code: %%% # connection_up/3
  %%% ---------------------------------------------------------------------------
  
  %% Peer process has reached the open state.
  
  connection_up(Pid, {TPid, {Caps, SApps, Pkt}}, #state{peerT = PeerT,
                                                        connT = ConnT}
  
negative.code: transition({'DOWN', MRef, process, _, Reason}, #state{monitor = MRef}) ->
      {stop, {monitor, Reason}};
  
  %% Local watchdog process has died.
  transition({'DOWN', _, process, Pid, Reason}, S)
    when node(Pid) == node() ->
      peer_down(Pid, Reason, S),
      ok;
  
  %% Remote service wants to know about shared peers.
  transition({service, Pid}, S) ->
      share_peers(Pid, S),
      ok;
  