• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Callback from NKE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Callback from NKE
      • From: Vincent Lubet <email@hidden>
  • Prev by Date: Re: Change to root uid
  • Next by Date: Re: Callback from NKE
  • Previous by thread: Re: strange panic, debugging help wanted..
  • Next by thread: Re: Callback from NKE
  • Index(es):
    • Date
    • Thread