anchor.diff:  ].
   
   %% @doc open new connection
  -%% @spec open_new(inet:ip_address(), int(), inet:ip_address(), int()) ->
  -%%       {local_ip, inet:ip_address(), int(), pid(), inet:socket()}
  -%%     | fail
  -%%     | {connection, pid(), inet:socket()}
  +-spec open_new(inet:ip_address(), integer(), inet:ip_address() | undefined, integer()) ->
  +       {local_ip, inet:ip_address(), integer(), pid(), inet:socket()}
  +     | fail
  +     | {connection, pid(), inet:socket()}.
   open_new(Address, Port, undefined, MyPort) ->
       Myself = self(),
       LocalPid = spawn(fun () ->
  
positive.code:                 end),
      Pid.
  
  
  send({_Address, _Port, Socket}, Pid, Message) ->
      BinaryMessage = term_to_binary({deliver, Pid, Message}),
      erlang:port_command(Socket, BinaryMessage),
      ok.
  
  loop(fail, Address, Port) ->
      comm_server:unregister_connection(Address, Port),
  
negative.code:             end;
  
          {youare, _IP, _Port} ->
              loop(Socket, Address, Port);
  
          Unknown ->
  