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,fd8aeecf4c986a41 X-Google-Attributes: gid103376,public From: "Robert L. Spooner" Subject: Re: Unix TCP Socket with GNAT? Date: 1997/04/21 Message-ID: <335B79F4.39DE@Sor.psu.edu>#1/1 X-Deja-AN: 236357727 References: <5jalk2$2c6@ultranews.duc.auburn.edu> To: "John M. Greer" Organization: Applied Research Laboratory Reply-To: rls19@psu.edu Newsgroups: comp.lang.ada Date: 1997-04-21T00:00:00+00:00 List-Id: John M. Greer wrote: > > Does anybody know of a good way to implement TCP connections with GNAT? > I'm running Linux with GNAT 3.09. I know I can use C library functions, > but I'd rather stick with good ol' Ada-95. > > John Greer > Spam will be rewarded with a complete copy of the Linux kernel source. John, >From my experience using Rational's Ada compiler for both a UNIX host and a vxWorks target environment to do this, I would say that the C library functions are probably your best bet. They have the following advantages. 1. They are available, documented, and easy to use with Ada's ability to interface to other languages. You save a lot of development cost. 2. They have been thoroughly tested by many more users than a custom Ada implementation would be, so are reliable and their behavior is known. If you need other protocols layered on top of TCP/IP you might want to look at what Pacific Softworks has. You can find them at: http://www.pacificsw.com/ regards, Bob -- Robert L. Spooner Registered Professional Engineer Research Assistant Guidance and Control Department Applied Research Laboratory Phone: (814) 863-4120 The Pennsylvania State University FAX: (814) 863-7843 P. O. Box 30 State College, PA 16804-0030 RLS19@psu.edu