Mailing Lists: Apple Mailing Lists

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

Re: sosend, soreceive, soconnect



On Jan 19, 2004, at 8:47 AM, Matt Jaffa wrote:
I did search the archives, and there was no answer unless i missed the right one.
I need to use sosend, and the others in the kernel so that i can communicate with my daemon
in user space, so i am doing it in user space.

Communicating between the kernel and user space with a UNIX domain socket is not a very good approach. Darwin has a mechanism called "User Clients", which allow an IOKit module to communicate with one or more user space processes.

For sample code, see:

http://developer.apple.com/samplecode/Sample_Code/Devices_and_Hardware/ IOKit/SimpleUserClient.htm


Amanda Walker
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.

References: 
 >sosend, soreceive, soconnect (From: Matt Jaffa <email@hidden>)
 >Re: sosend, soreceive, soconnect (From: Matt Jaffa <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.