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=0.1 required=5.0 tests=BAYES_05,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d54630460ea6a38e X-Google-Attributes: gid103376,public From: "W. Wesley Groleau (Wes)" Subject: Re: q: pkg for network/UNIX programming; system dependencies Date: 1997/05/30 Message-ID: <338F3177.1A04@pseserv6.fw.hac.com>#1/1 X-Deja-AN: 245047443 Sender: usenet@most.fw.hac.com (News Administration) X-Nntp-Posting-Host: sparc02 References: Organization: Hughes Defense Communications Newsgroups: comp.lang.ada Date: 1997-05-30T00:00:00+00:00 List-Id: > > I'm looking for a package to help me deal with UNIX system-defined types, > > socket- and network-related types and functionality, domain name service, > > etc. I've looked at ..... > > I have a port of the forest-1.4 library (it compiles without error > under GNAT 3.09) with some limited Berkeley socket bindings at > http://www.concentric.net/~Minyard. ...... FLORIST (Florida State upgrade to FOREST) might also help. > > .... How do you usually deal with OS or > > configuration dependencies in Ada? .... > > .... For example, some systems have the > > utmpx functions, some don't; some have wait4, some don't. 1. Use POSIX and other standards as much as possible. 2. Check your system's offerings very carefully. Often you may find that the system offers a "standard" item that is almost as good as the "super-duper nonportable" item. > the machine-dependent stuff in a separate file makes porting a lot > easier because you know where all the stuff you have to fix is. Furr Shurr. ---------------------------------------------------------------------- Wes Groleau, Hughes Defense Communications, Fort Wayne, IN USA Senior Software Engineer - AFATDS Tool-smith Wanna-be Send me your advertisements! I'll proofread and return them for only $50.00 (US) per hundred words (plus a small fee per correction). For full details, use a subject line of "Re: Proofreading Offer" on a message of less than ten lines. ----------------------------------------------------------------------