anchor.diff:      ok = gen_tcp:send(Client1, Payload),
       ok = gen_tcp:close(S1),
       ok = ct:sleep(20),
  -    {error, econnreset} = gen_tcp:recv(Client1, 0).
  +    {error, econnreset} = gen_tcp:recv(Client1, 0),
  +    p("done"),
  +    ok.
   
   %%
   %% Test {linger {true, 0}} aborts a connection
  
positive.code:                      CSock;
              {error, eaddrnotavail = Reason} ->
                  skip(connect_failed_str(Reason))
          end,            
      {ok, S} = gen_tcp:accept(L),
      ok = gen_tcp:close(L),
      ok = inet:setopts(S, [{linger, {true, 0}}]),
  
negative.code:     {error, closed} = gen_tcp:recv(Client, 0),
  
      %% Now test with option switched on.
      p("test with option explicitly switched on"),
      {ok, L1} = gen_tcp:listen(0, [{active, false}, {recbuf, 4096}]),
      {ok, Port1} = inet:port(L1),
      Client1 = case gen_tcp:connect(localhost, Port1,
  				   [{active, false},
  				    {sndbuf, 4096},
  				    {show_econnreset, true}]) of
                    {ok, CSock1} ->
                        CSock1;
              {error, eaddrnotavail = Reason1} ->
                  skip(connect_failed_str(Reason1))
          end,
      {ok, S1} = gen_tcp:accept(L1),
      ok = gen_tcp:close(L1),
      ok = inet:setopts(S1, [{linger, {true, 0}}]),
  