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-04 05:17:59 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!194.213.69.151!news.algonet.se!algonet!f.de.uu.net!news.uni-stuttgart.de!cert.uni-stuttgart.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: adasockets and adatypes Date: 04 Sep 2001 14:17:24 +0200 Organization: RUS-CERT, University of Stuttgart, Germany Sender: rusfw@mercury.rus.uni-stuttgart.de Message-ID: References: <20010904115244.24236db3.tonygair@blueyonder.co.uk> NNTP-Posting-Host: mercury.rus.uni-stuttgart.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: hornet.rus.uni-stuttgart.de 999605438 31787 129.69.1.226 (4 Sep 2001 12:10:38 GMT) X-Complaints-To: abuse@cert.uni-stuttgart.de NNTP-Posting-Date: Tue, 4 Sep 2001 12:10:38 +0000 (UTC) User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7 Xref: archiver1.google.com comp.lang.ada:12685 Date: 2001-09-04T14:17:24+02:00 List-Id: "David C. Hoos, Sr." writes: >> 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.... > Make the record a tagged type, and use 'Output to send it > and 'Input to read it. This works only if the compiler and architecture are the same on both ends of the communication channel.