Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Starting the port mapper



I have a piece of code that uses Sun RPC calls. I noticed that the port mapper is not running by default when I tried to run this code on OS X. At the moment, I'm starting the port mapper from the command line with "sudo launchd /usr/sbin/portmap" and typing in my password.

I have a Cocoa frontend that I'm designing with the code for my RPC service running on a separate thread.

Is there a recommended way (Security.framework?) to start the port mapper in my application? Are there any consequences to starting the port mapper again if its already running? If so, what's the recommended way to programmatically find out if its running?

Thanks a bunch,

--
Alexander Powell
http://a-lex.powelltown.com/
Georgia Institute of Technology - GVU - GRAPE
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden

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 © 2007 Apple Inc. All rights reserved.