Re: kern_control KPI and socket reads
Re: kern_control KPI and socket reads
- Subject: Re: kern_control KPI and socket reads
- From: "Bhavesh Davda" <email@hidden>
- Date: Thu, 15 Mar 2007 10:01:43 -0700
On 3/14/07, Kevin Brock <email@hidden> wrote:
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.
Or were you looking for something else?
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden