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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,68b43b837fb71f2a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-09-17 05:38:43 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!ra.nrl.navy.mil!dca6-feed2.news.algx.net!allegiance!newsfeed1.cidera.com!Cidera!cyclone1.gnilink.net!newsfeed.news2me.com!west.cox.net!cox.net!p01!news2.central.cox.net.POSTED!53ab2750!not-for-mail Message-ID: <3D872250.7010103@telepath.com> From: Ted Dennison User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Thoughts on the recent ICFP contest References: <3D7FFD66.9030805@telepath.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 17 Sep 2002 12:38:39 GMT NNTP-Posting-Host: 68.12.51.201 X-Complaints-To: abuse@cox.net X-Trace: news2.central.cox.net 1032266319 68.12.51.201 (Tue, 17 Sep 2002 08:38:39 EDT) NNTP-Posting-Date: Tue, 17 Sep 2002 08:38:39 EDT Organization: Cox Communications Xref: archiver1.google.com comp.lang.ada:29069 Date: 2002-09-17T12:38:39+00:00 List-Id: Preben Randhol wrote: > On Thu, 12 Sep 2002 02:35:10 GMT, Ted Dennison wrote: > >>That leaves me with (2), which is both generally useful, and not >>available right now (at least not outside of Claw). I'm thinking the >>best way to do this in the context of Ada would be to implement it as a >>stream, with the various sockopt function codes implemented as >>primitives on it. I'm curious if anyone else thinks something like this >>ought to be available. > > > What is missing in Adasocket? There are 2 problems with Adasocket: The main one is that I didn't know about it. :-) My bad... The other issue is that its not quite the high-level interface I was considering. However, it would have actually been perfect for the task in question (better than the solution I was considering), as its "Get_Line" function is precisely what one would have needed to retrieve data from the host.