site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Feb 23, 2005, at 11:08, Carl Smith wrote: I've lost track of exactly what you are trying to achieve. You have the right list for this kind of question. See above. ? Did the last bit of this get dropped? Regards, Justin _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... After some further research, and I don't know if this is more a Unix question than an Apple 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? To eliminate the loop on recv() -- 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. *--------------------------------------*-------------------------------* This email sent to site_archiver@lists.apple.com
participants (1)
-
Justin Walker