anchor.diff:      false-> io:fwrite(FD," ~p~n",[Term])
     end.
   
  +send_to_wd(Term) ->
  +  try
  +    ?MODULE ! Term,
  +    ok
  +  catch 
  +    error:badarg   -> {error,watchdog_not_started};
  +    _:R            -> {error,R}
  +  end.
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   expand_recs(List) when is_list(List) -> [expand_recs(L)||L<-List];
   expand_recs(Tup) when is_tuple(Tup) -> 
  
positive.code: 
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  mk_send(tcp,Name,Port,Cookie) ->
    ConnOpts = [{send_timeout,100},{active,false},{packet,4},binary],
    ConnTimeout =  100,
  
negative.code: %%%-------------------------------------------------------------------
  -module(watchdog).
  
  -export(
     [start/0,stop/0
      ,add_send_subscriber/4,add_log_subscriber/0,add_proc_subscriber/1
      ,clear_subscribers/0
      ,message/1
      ,loop/1]).
  
  -include("log.hrl").
  
  