• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Getting info on Mach Messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting info on Mach Messages


  • Subject: Getting info on Mach Messages
  • From: email@hidden (mikevannorsdel)
  • Date: Fri, 30 Nov 2001 18:47:29 -0700

I'm trying to find attributes of the sender of an incoming mach message.
I'm using DO to do inter-task communications and I need to be able to get
reliable info, like a pid, of the sender of an incoming mach message. Is
this possible? I was looking at NSMachPort's handleMachMessage: to get info
on the incoming mach message. However, I'm not sure what the incoming data
is. The docs say it starts with a msg_header_t struct, but that's all. Can
I get info on the sending task from here? If so, how do I take the raw
(void*) data that comes to handleMachMessage: and get readable data from it?


  • Prev by Date: Re: Cocoa beginner question
  • Next by Date: Filename from ImageView/Image?
  • Previous by thread: Re: Looking for alpha channel solution for transparencies
  • Next by thread: Filename from ImageView/Image?
  • Index(es):
    • Date
    • Thread