site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YLtbb1MmpOLjwTCWMaTgiTlbggR6+4gyC5qj41RyB1YGx61EJJdaWKfQYxlPX7kQy376NCYdKd9YmqLo1q2RTU33Qjkgz2uCps8OeGHyftoGKrVKayGa1dn7gbqidNZuB79XkM+z4MHEmWn4AAZoK5baMR281xS8+pCfrZ64IgA= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FYymsw/cdBWSTMR5F2HQqbk8vDRmu7SOmb3/5SfMvRWXLVr4FgI+ipzNxwrdMw8uUifiTQK9tlBocYaskkAC3I0q3xKErLDqYEpZ6Y9+nql4jMkC1hbEcRmO0dg6a/pMZlQbvUu/9hJHQtQQQT+ugd8Q6flVDj5hN+YDcqRBIgI= On Mar 14, 2007, at 4:22 PM, Bhavesh Davda wrote:
I know that the kern_control API doesn't provide a callback for reads on the sockets that it internally uses, after a call to ctl_enqueuembuf().
But how would I go about implementing something that gets called on a read/recv from my kern_control socket? The ctl_send_func that you specified when registering the control should get called when the client sends data to the kext.
Yes, I was looking for something that gets called when an application does a read/recv on the kern_control socket. Thanks -- Bhavesh P. Davda _______________________________________________ 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... On 3/14/07, Kevin Brock <apple@kevin.com> wrote: Or were you looking for something else? This email sent to site_archiver@lists.apple.com