To: stik-beta-testers@list.zetnet.co.uk
From: dlanor@oden.se (Ronald Andersson)
Organization: Atari
Subject: Re: STinG TCP 1.18 beta results
X-Mailer: NEWSie Version 0.94 (Atari)

Hi again,

I just noticed an error in my last post, which must be corrected.

----- snip ----- re: some stuff that was correct

>>So I think that is TCP_open problem because it never return E_REFUSE,
>
>The correct error message when no listening port is waiting on the
>destination machine is indeed E_REFUSE, but since that is a result
>that can only be determined at the destination, some datagrams have
>to pass back and forth (even for loopback) before the source can
>be informed of the error.  That should happen through an ICMP error
>message, which will alter the status of the TCP_connection.

That last is false !
Actually it should indeed be signaled through a TCP RESET packet,
just like the TCP module already does.  The real problem was that
TCP_wait_state and TCP_ack_wait did not check for network errors
inside the timeout loop, but only before entering it, as stated.

The rest of my comments were correct though, except in reference
to the use of an ICMP message for this particular error case.

----- snip ----- re: the rest of the old stuff

-------------------------------------------------------------------------
Regards:  Ronald Andersson                   mailto:dlanor@ettnet.se
http://www.ettnet.se/~dlanor/                mailto:dlanor@oden.se
http://dlanor.atari.org/                     mailto:ra@cgiforme.com
-------------------------------------------------------------------------
