Callback from NKE
Callback from NKE
- Subject: Callback from NKE
- From: "Carl Smith" <email@hidden>
- Date: Wed, 16 Feb 2005 18:24:50 -0500
- Thread-topic: Callback from NKE
I have an NKE that I currently have registered using
ctl_register function and from my userland I connect to the NKE using sockets,
that is calling socket(PF_SYSTEM, SOCK_DGRM, SYSPROTO_CONTROL) then on success
connect().
What I would like to do is be able for the NKE to signal or
notify the app when it has some something to do or send, without the app going
into a constant loop waiting for data via a recv() function.
Someone had mentioned the possibility of using CFSocket for
this with a call back function.
I am not sure if this possible using a NKE and that is my
question. Can my idea be done using CFSocket and if yes are there any examples
of this using a kext? Of if not any other suggestions?
Thanks
Carl
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.853 / Virus Database: 581 - Release Date: 2/1/2005
|
_______________________________________________
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