From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1a67ca8eb77e521d X-Google-Attributes: gid103376,public From: rlk@rational.com (Bob Kitzberger) Subject: Re: TCP/IP stack in ADA Date: 1995/04/03 Message-ID: <3lpueh$c03@rational.rational.com>#1/1 X-Deja-AN: 100815595 references: <3lhdou$3jj@booz.bah.com> organization: Rational Software Corporation newsgroups: comp.lang.ada Date: 1995-04-03T00:00:00+00:00 List-Id: jungj@bah.com wrote: : I am looking for a TCP/IP written in ADA that can operate on : an 68040 processor on an Motorola VME 162 board. : Any help would be appreciated. [This comes up occasionally -- perhaps it belongs in the FAQ?] There are (or were, the last time I checked) two TCP/IP stacks, written in Ada, freely available from STARS. The earlier version appears to be Not Brilliant, and only implemented UDP/IP (no TCP). The newer version supplied TCP,IP,ICMP,ARP(?), etc. but no UDP. UDP is pretty trivial, though -- should only take a few days to implement assuming you are familiar with the rest of the implementation. The protocol stack is fairly easy to understand, and the interfaces are documented well. A TCP/IP stack is not a trivial matter, though, so don't expect to slap it on your hardware and be off an running tomorrow ;-) You'll need to provide a driver that matches the stack's driver interfaces. If you want to program in a BSD socket-ish environment, you'll need to write a socket interface. Plan on at least six months to have something usable, unless you are familiar with TCP/IP internals already. A much better choice, IMHO, is to ask your kernel vendor what they offer with respect to TCP/IP, and use that. If it's written in C, assembly, or COBOL, so what... just pragma interface and you'll be up and running the same day. Two big wins: (1) you don't have to become a TCP/IP expert, and (2) you have the advantage of using a stack that has been pounded on by many customers, and stands a better chance of being robust. .Been.There,.Done.That -- Bob Kitzberger +1 (916) 274-3075 rlk@rational.com Rational Software Corp., 10565 Brunswick Rd. #11, Grass Valley, CA 95945 "...the solution to the problem is usually to pee on it" -- Dave Barry