Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
RPC and 64-bit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RPC and 64-bit



Title: RPC and 64-bit

I'm porting an application from 32 to 64-bit and am having trouble with the RPC portion of it.  Initially I had problems even in 32-bit on Leopard because of permissions, but thanks to Dave Zarzycki I was able to get past this.  (See the post in this mailing list about setting SockPathMode in System/Library/LaunchDaemons/com.apple.portmap.plist.)

The same code that now runs fine in 32-bit on Leopard fails when compiled for x86_64.  When svc_register() is called, it sits for one minute and then fails with "Bad file descriptor".  Calling pmap_set() does the same thing.

Any clues as to what might be going on?

Much thanks,
Doug

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.