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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,316584e171254ed6 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: How to implement I/O using Streams Date: 1997/04/02 Message-ID: #1/1 X-Deja-AN: 230148797 References: Organization: New York University Newsgroups: comp.lang.ada Date: 1997-04-02T00:00:00+00:00 List-Id: Matthew said <> The answer to your last question is that you write the Read and Write procedures and they know what ever they need to know. This is simply a straightforward programming problem with no magic. Remember that Root_Stream_Type is an abstract type -- you have to supply all the necessary code for a given instance. If you want to look at examples of how this is done, look at the GLADE code which precisely does what you are talking about (sends stream data via sockets). In fact, while you are at it, check to see whether annex E and GLADE might not solve your problem at a much higher level ...