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!news.glorb.com!newscon02.news.prodigy.com!newscon06.news.prodigy.com!prodigy.net!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:gABBhJFvh+lFsSzHNRkgb+joN4o= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 28 Sep 2005 11:09:47 +1000 NNTP-Posting-Host: 61.8.35.118 X-Complaints-To: news@pacific.net.au X-Trace: nasal.pacific.net.au 1127870066 61.8.35.118 (Wed, 28 Sep 2005 11:14:26 EST) NNTP-Posting-Date: Wed, 28 Sep 2005 11:14:26 EST Xref: g2news1.google.com comp.lang.ada:5214 Date: 2005-09-28T11:09:47+10:00 List-Id: "Marc A. Criley" writes: > David Trudgett wrote: >> "Dmitry A. Kazakov" writes: >>> Either, you need a character *stream* filtering, >> Possibly, but I'm not using a socket stream interface at the current >> time. The socket library I'm using right now doesn't do streams. > > Just as an FYI, I wrote an article a few years ago on how to put an > Ada stream interface onto a socket. It's at > http://portal.acm.org/ft_gateway.cfm?id=568950&type=pdf. Seems to require a user name and password, unfortunately. > And I believe Samuel Tardieu enhanced his AdaSockets implementation > (http://www.rfc1149.net/devel/adasockets) around that time to do the > same thing. Thanks. I'm actually using that one. I thought it was version 0.1.6 (by looking at the release version in sockets.ads), but it is actually version 1.8.4.7). I didn't see any stream interface (looking through the documentation). Perhaps it's there in the source and I didn't notice it. David -- David Trudgett http://www.zeta.org.au/~wpower/ As for those who profit by the privileges gained by previous acts of violence, they often forget and like to forget how these privileges were obtained. But one need only recall the facts of history, not the history of the exploits of different dynasties of rulers, but real history, the history of the oppression of the majority by a small number of men, to see that all the advantages the rich have over the poor are based on nothing but flogging, imprisonment, and murder. -- Leo Tolstoy, "The Kingdom of God is Within You"