anchor.diff:             fun() ->
                      Recv      = fun(Sock) -> socket:recv(Sock) end,
                      InitState = #{domain   => inet6,
  -                                 type     => stream,
                                    protocol => tcp,
  +                                 recv     => Recv},
  +                   ok = sc_rc_receive_response_tcp(InitState)
  +           end).
  +
  +
  +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  +%% This test case is intended to test what happens when a socket is 
  +%% remotely closed while the process is calling the recv function.
  +%% Socket is Unix Domain (stream) socket.
  +
  +sc_rc_recv_response_tcpL(suite) ->
  +    [];
  +sc_rc_recv_response_tcpL(doc) ->
  +    [];
  +sc_rc_recv_response_tcpL(_Config) when is_list(_Config) ->
  +    ?TT(?SECS(30)),
  +    tc_try(sc_rc_recv_response_tcpL,
  +           fun() -> has_support_unix_domain_socket() end,
  +           fun() ->
  +                   Recv      = fun(Sock) -> socket:recv(Sock) end,
  +                   InitState = #{domain   => local,
  +                                 protocol => default,
                                    recv     => Recv},
                      ok = sc_rc_receive_response_tcp(InitState)
              end).
  
positive.code:     end.
  
  
  which_local_socket_addr(local = Domain) ->
      #{family => Domain,
        path   => ?LIB:f("/tmp/socket_~w", [erlang:unique_integer()])};
  
  %% This gets the local address (not 127.0...)
  %% We should really implement this using the (new) net module,
  
negative.code:                            end
                     end},
           #{desc => "bind to local address",
             cmd  => fun(#{domain := local,
                           lsock  := LSock,
                           lsa    := LSA} = _State) ->
                             case socket:bind(LSock, LSA) of
                                 {ok, _Port} ->
                                     ok; % We do not care about the port for local
                                 {error, _} = ERROR ->
                                     ERROR
                             end;
                        (#{lsock    := LSock,
                           local_sa := LSA} = State) ->
                             case socket:bind(LSock, LSA) of
                                 {ok, Port} ->
                                     {ok, State#{lport => Port}};
  