how to set socket event mode in kext

I need to use socket in my kenel extension。how to set socket event mode as edge triggered or level triggered ?I guess the defult value is edge triggered。But I

need the data in socket buffer to keep for a long time 。It will be fetched a part data of buffer every time 。So how to set level triggered to fit this requirement?

thanks very much!

I do not, alas, understand your question. Do you know how to do this in user space? If so, please describe how you’re doing it there and I may be able to translate.

If not, you’ll have to run through some concrete examples of what you’re trying to achieve.

Share and Enjoy

Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
how to set socket event mode in kext
 
 
Q