Re: Sun RPC in OSX
Re: Sun RPC in OSX
- Subject: Re: Sun RPC in OSX
- From: Marc Majka <email@hidden>
- Date: Thu, 21 Feb 2008 11:00:38 -0800
Yes, Mac OS X has ONC RPC. The sources were imported from FreeBSD,
and have been extended to work correctly on 64-bit systems. Note,
however, that by definition a "long" in RPC is 32 bits, so routines
that take longs really take 32-bit values on any platform.
The RPC library routines are built into libSystem, so you don't need
to compile with "-lrpc" or whatever. The RPC header files are in /usr/
include/rpc as you would expect.
--
Marc Majka
On 21 Jan, 2008, at 06:50, Mark Gilbert wrote:
Folks
I am porting some windows code which makes use of the "oncrpc" Sun-
RPC lib (librpc, rpcgen XDR etc)
I do have the RPC source code of the libraries originally linked to
the actual application code I am porting, but its from the late 90's
and there is alot of it.
My question is whether OSX includes the sun librpc - I did find
some of the same stuff in the Mac OSX development kit, but its not
clear if this is the same, or something slightly different, or a
subset.
I can see that documentation that Apple supports XML-RPC via Apple
events, but this seems to be different to the original RPC I am
dealing with (which is not the XML type).
Any advice on this topic would be appreciated.
Thanks
Mark.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden