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,8f802583e5c84fa X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feed6.newsreader.com!newsreader.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!feeder2.news-service.com!newsfeed.pacific.net.au!nasal.pacific.net.au!not-for-mail Newsgroups: comp.lang.ada Subject: Re: String filtering From: David Trudgett Organization: Very little? References: <1j92wa9843ylq.16j89wuqatbaj$.dlg@40tude.net> Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:KmhCq7/MMgCy7DRLaSZzLar6e3M= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 28 Sep 2005 11:50:19 +1000 NNTP-Posting-Host: 61.8.35.118 X-Complaints-To: news@pacific.net.au X-Trace: nasal.pacific.net.au 1127872497 61.8.35.118 (Wed, 28 Sep 2005 11:54:57 EST) NNTP-Posting-Date: Wed, 28 Sep 2005 11:54:57 EST Xref: g2news1.google.com comp.lang.ada:5217 Date: 2005-09-28T11:50:19+10:00 List-Id: David Trudgett writes: >> It definitely looks like an ideal example for the use of streams. >> Is there something that makes it a bad idea to switch to a >> stream-capable socket package? > > Only the fact that I'm just toying with a game program, and the > socket library already works (adasockets 0.1.6 IIRC), and the comms > layer I wrote works on top of it. Changing it in future won't be any > big deal, however, since it's abstracted away behind my comms layer. I've looked through the adasockets docs again and I see that there is a lower level Receive function/procedure that uses streams. So, I have to correct myself when I said it doesn't do streams. So, when I get around to it, I might have a look at using streams, but for the present, the Get_Line interface works just fine and is nice and easy. Sorry for the confusion. Sometimes the memory plays tricks. I should have gone back and double checked. David -- David Trudgett http://www.zeta.org.au/~wpower/ You need only reflect that one of the best ways to get yourself a reputation as a dangerous citizen these days is to go about repeating the very phrases which our founding fathers used in the great struggle for independence. -- Charles Austin Beard (American historian/educator 1874-1948)