Amanda and others: I would love to implement what SimpleUserClient is doing but with my application, instead of the KERNEL socket AF_UNIX implementation, I don't know exactly how to do it. So I have a KEXT that is a socket/Protocol filter. And I insert my code to do all the checking within the send function that is within my filter. How am i supposed to do this, my daemon will keep checking with the KEXT to see if it has work to do? And within my send function i block it with a semaphore??? Until the daemon picks it up, signals then does work and then the daemon goes back to checking for work to do???? And what if the daemon is not running, it won't be polling for work to do, so the stuff that is sitting in semaphore_wait mode will always wait and nothing will work. Please advise me in this area, I am looking to finish my project quickly. Thanks, Matt On Jan 19, 2004, at 8:06 PM, Amanda Walker wrote: 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 | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored. _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.