[Oberon] AosTCP.Mod

Stefan Salewski mail at ssalewski.de
Sun Apr 16 21:01:56 CEST 2006


On sunday, 16. April 2006 20:11 Douglas G. Danforth wrote:
> Thomas,
> In my opinion that is not good programming for it relies upon
> a 'side effect' which is heavily frowned upon.  A pointer
> replaces itself invisibly.  It would be better if (for
> example) there were a function ConnectionListFinalize such
> that
>
> FOR i:= 0 TO HashTableSize-1 DO
> ConnectionListFinalize(table[i]) END;
>
> -Doug Danforth
>

From the beginning of MODULE AosTCP:
(*
TCP - Transmission Control Protocol. Based on the 4.4BSD-Lite 
distribution described in Wright and Stevens, "TCP/IP 
Illustrated, Volume 2: The Implementation", ISBN 0-201-63354-X. 
See the BSD copyright statement at the end of this module. From 
that code it inherits some horrible control flow, which was left 
mostly intact, to make it easier to compare with the book.
*)

This module is really terrible. The problem is that it seems to 
be very complicated to make an efficient TCP/IP-Stack, so ETH 
builds their module based on this implementation. Unfortunately 
TCP (FTP-Server, VNC-Server) does not work when I try to connect 
my Linux-Box to my Oberon Box. I spend some time searching for 
the problem -- without success. Understanding module AosTCP is 
very difficul, nearly impossible without the books of Stevens.

Best regards

Stefan Salewski


More information about the Oberon mailing list