Path: utzoo!utgpu!watmath!clyde!ima!bbn!diamond.bbn.com!milazzo
From: milazzo@bbn.com (Paul Milazzo)
Newsgroups: comp.os.cpm
Subject: Re: Need TCP/IP for CP/M
Summary: It CAN be done
Message-ID: <12318@garnet.BBN.COM>
Date: 8 Dec 88 14:54:39 GMT
References:  <294@antares.UUCP> <715@tetra.NOSC.MIL>
Reply-To: milazzo@bbn.com (Paul Milazzo)
Organization: BBN Laboratories Incorporated, Cambridge, MA
Lines: 21

Many readers believe TCP/IP is simply too big for the CP/M environment;
in fact, small implementations fit.  In mid-1986, I ported Geoffrey
Cooper's TINYTCP to CP/M, fixing a number of protocol errors in the
process.  TINYTCP has a trivial IP layer, and a retransmission policy
that can only be described as mindless, but it seems to work.  It is
written entirely in C.

I never bothered to implement a SLIP interface, but applications can
talk to each other through the loopback interface.  A .COM file
containing:

    - TCP/IP,
    - the loopback driver,
    - two trivial test applications that exchange TCP segments, and
    - a packet trace printer,

compiled with the Z80 version of Aztec C 1.06D, is 18048 bytes long.

				Paul Milazzo 
				BBN Laboratories
				Cambridge, MA