Re: Callback from NKE
Re: Callback from NKE
- Subject: Re: Callback from NKE
- From: Justin Walker <email@hidden>
- Date: Wed, 23 Feb 2005 11:49:56 -0800
On Feb 23, 2005, at 11:08, Carl Smith wrote:
I've lost track of exactly what you are trying to achieve.
After some further research, and I don't know if this is more a Unix
question than an Apple question,
You have the right list for this kind of question.
but what about using socreate, to assign a call back function in the
Client with some defined intercepts from the kernel.
I don't see how you got here. There are no kernel functions that
"assign a call back function in the Client...". The kernel
communicates with user code in roughly two ways: replying to requests
(system calls, mach messaging, ...); or signals. The signaling scheme
is again set up in user mode. The kernel can't talk to the user app
unless the app has set things up to allow it.
In addition, socreate() is just the kernel's implementation of the
user-mode call "socket()"; it just does the setup work when the caller
wants a socket to use for some purpose.
I know this is done within the kernel, for system events and etc., but
can it also be done in the userland?
See above.
To eliminate the loop on recv()
? Did the last bit of this get dropped?
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | It's not whether you win or
lose...
| It's whether *I* win or lose.
*--------------------------------------*-------------------------------*
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden