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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,19b0bf5b6906d2e7 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: Using GNAT.Sockets with Streams and Byte Swapping Date: Thu, 26 May 2005 11:50:41 +0200 Message-ID: <42959BF1.6070907@mailinator.com> References: <1117014486.871500.288200@g44g2000cwa.googlegroups.com> <1117099711.738704.120930@g47g2000cwa.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net /BBNmA+yB3W9ocZpgrcbWg2ObL+U3urWAKTflmQpxyydMtlU0= User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en In-Reply-To: <1117099711.738704.120930@g47g2000cwa.googlegroups.com> Xref: g2news1.google.com comp.lang.ada:11160 Date: 2005-05-26T11:50:41+02:00 List-Id: markp wrote: > Thanks for your reply. I have one question. In order to write my own > 'Write and 'Read subprograms, would I have to change GNAT.Sockets and > rebuild the runtime? Or, is there an easier way? No, no :) You just write a conformant procedure and then: for Your_Type'Write use ;