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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,632dbd0caea19836 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: System calls - GNAT library vs. direct bindings References: <1180623520.303981.191090@q75g2000hsh.googlegroups.com> Date: Thu, 31 May 2007 17:06:22 +0200 Message-ID: <87ps4hf2xd.fsf@ludovic-brenta.org> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:FktUey61tZ935mp3+nRia1Yx/DE= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Tele2 X-Trace: DXC=BE7L3U5jFYdhoL4_[H?aSe6`Y6aWje^YjTKFaY[Z8Nil[RVIg5E_9Yj[_I[a?L8bHa5Pe5XC=hR>a Xref: g2news1.google.com comp.lang.ada:15993 Date: 2007-05-31T17:06:22+02:00 List-Id: Maciej Sobczak writes: > Let's suppose that the problem is a network-aware application on the > POSIX system. Ada doesn't know about network per RM, so we have to > look around for libraries. > One option is to use the GNAT library that has some package for > sockets. > Another is to write thin wrappers that bind directly to relevant > system calls (socket, connect, read, write, close, bind, listen, > accept, select - that's it for the basic stuff). There is also adasockets: http://www.rfc1149.net/devel/adasockets -- Ludovic Brenta.