| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
From: Matt Jaffa <email@hidden>
Subject: Re: sosend, soreceive, soconnect
Date: Mon, 19 Jan 2004 22:05:56 -0700
To: Amanda Walker <email@hidden>
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
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.