anchor.diff:  }).
   
   
  -%% @private 
  +%% @private
   -spec init(term()) ->
       {ok, #state{}} | {stop, term()}.
   
  
positive.code:             {ok, {LocalIp, LocalPort}} = InetMod:sockname(Socket),
              NkPort1 = NkPort#nkport{
                  local_ip = LocalIp,
                  local_port = LocalPort, 
                  listen_ip = ListenIp,
                  listen_port = LocalPort,
                  pid = self(),
  
negative.code:             },
              InetMod:setopts(Socket, [{active, once}]),
              {ok, NkPort2};
          {error, Error} ->
              {error, Error}
      end.
  
  