Re: Using GNAT.Sockets with Streams and Byte Swapping



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 <your procedure>;
.