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,ac2397ce800de518 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-05 02:12:55 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news-hub.cableinet.net!blueyonder!internal-news-hub.cableinet.net!news1.cableinet.net.POSTED!not-for-mail From: Tony Gair Newsgroups: comp.lang.ada Subject: Re: adasockets and adatypes Message-ID: <20010905100911.3f3f1d0c.tonygair@nospam.blueyonder.co.uk> References: <20010904115244.24236db3.tonygair@blueyonder.co.uk> X-Newsreader: Sylpheed version 0.5.3 (GTK+ 1.2.9; i586-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: Wed, 05 Sep 2001 09:13:26 GMT NNTP-Posting-Host: 62.31.154.215 X-Complaints-To: http://www.blueyonder.co.uk/abuse X-Trace: news1.cableinet.net 999681206 62.31.154.215 (Wed, 05 Sep 2001 10:13:26 BST) NNTP-Posting-Date: Wed, 05 Sep 2001 10:13:26 BST Organization: blueyonder (post doesn't reflect views of blueyonder) Xref: archiver1.google.com comp.lang.ada:12737 Date: 2001-09-05T09:13:26+00:00 List-Id: Thanks David, This worked for me, as it happened I did not need the Sigada example On Tue, 4 Sep 2001 06:37:00 -0500 "David C. Hoos, Sr." wrote: > Yes. > > Make the record a tagged type, and use 'Output to send it > and 'Input to read it. > > The External_Tag of the tagged type will be sent first, > so that the receiver can determine its type. > > You will need to use the Stream operations of adasocketa. > > ----- Original Message ----- > From: "Tony Gair" > Newsgroups: comp.lang.ada > To: > Sent: September 04, 2001 5:53 AM > Subject: adasockets and adatypes > > > > Does anyone know a way of sending an adatype (especially a record of string > and enumerated types) down a socket so it can be received by another ada > program which recognises the type.... > > Regards > Tony Gair > _______________________________________________ > comp.lang.ada mailing list > comp.lang.ada@ada.eu.org > http://ada.eu.org/mailman/listinfo/comp.lang.ada > >