anchor.diff:  %% ------- Socket is defined from here on -----------------------------------
   
   %% Call: bind/1
  -handle_event({call, From}, {bind, BindAddr}, _State, {P, _D}) ->
  +handle_event({call, From}, {bind, BindAddr} = _BIND, _State, {P, _D}) ->
  +    %% ?DBG({handle_event, call, _BIND, _State}),
       Result = socket:bind(P#params.socket, BindAddr),
  +    %% ?DBG({bind_result, Result}),
       {keep_state_and_data,
        [{reply, From, Result}]};
   
  
positive.code:     Proto = if (Domain =:= local) -> default; true -> tcp end,
      case socket:open(Domain, stream, Proto, Extra) of
          {ok, Socket} ->
              D = server_opts(),
              ok = socket:setopt(Socket, {otp,iow}, true),
              ok = socket:setopt(Socket, {otp,meta}, meta(D)),
              P =
  
negative.code:              #accept{
                  info = SelectInfo, from = From,
                  listen_socket = ListenSocket},
               {P, D#{type => accept}},
               [{{timeout, accept}, Timeout, accept}]};
          {error, _} = Error ->
              {next_state,
  