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,99ad16995c7745f2 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newspeer.monmouth.com!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: How to implement a server socket compatible to telnet? Date: Sun, 10 Aug 2008 18:15:15 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <8r_mk.151106$102.88358@bgtnsc05-news.ops.worldnet.att.net> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1218406515 2616 192.74.137.71 (10 Aug 2008 22:15:15 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Sun, 10 Aug 2008 22:15:15 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:t/ChG4QdixeWdvnwh13S1MOnGWM= Xref: g2news1.google.com comp.lang.ada:1591 X-Original-Bytes: 1701 Date: 2008-08-10T18:15:15-04:00 List-Id: anon@anon.org (anon) writes: > If your doing a direct conversion from C to Ada using sockets then you > might need to use the lower-level socket package, "GNAT.Sockets.Thin". > This package has direct library links to the sockets library routines, > bypassing the extra layer of code in "GNAT.Sockets". GNAT.Sockets.Thin says: -- This package provides a target dependent thin interface to the sockets -- layer for use by the GNAT.Sockets package (g-socket.ads). This package -- should not be directly with'ed by an applications program. which means that AdaCore feels free to change the interface in incompatible ways at any time. - Bob