I'm working on a port of an application to OS400. It is havely dependant
on XDR and associated rutines.

OS400 provides basic functions like xdr_enum(), xdr_long(),...; however I
can't find rutines like xdrrec_create() and so on.

I need to pack some XDR structures into a bufferto. Afterwards I will
transfer this buffer trough a network socket.

Any idea?

It should not be difficult to implement above rutines (sources from SUN
are available). The problem is that some procedures (e.g. xdr_string() )
alocate memory. As I'm using APR as a 'portability' libray, it is a litle
bit hard to implement needed rutines.

Best regards,

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].