I am trying to use Mach port messages in Objective-C, but I cannot find any documentation or working example.
Do you have pointers to documentation or examples?
See NSMachPort documentation and http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/DistrObjects/Concepts/ports.html
This link helped a friend who was looking for the same.
http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_msg_header.html
http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_msg_descriptor.html
(Apple is now more closed than before): All of Appleβs important APIs seem to be deleted or redirected to the wrong pages. Impossible, IMHO.)