Re: Kernel Extension to User Land communication through sockets
Re: Kernel Extension to User Land communication through sockets
- Subject: Re: Kernel Extension to User Land communication through sockets
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Sun, 14 Feb 2016 21:46:18 -0800
On 13 Feb 2016, at 03:00, Robert Clove <email@hidden> wrote:
> Can some one point me to the link where i can send a message from user land to kernel extension through sockets.
You can look at the tcplognke sample code.
<https://developer.apple.com/legacy/library/samplecode/tcplognke/Introduction/Intro.html#//apple_ref/doc/uid/DTS10003669>
Note that this is in the "Retired Documents Library". That's not because it’s fundamentally broken but simply because we haven’t had a chance to update it to compile with modern tools and so on.
You might also want to look at the enetlognke sample code. enetlognke and tcplognke were originally created as a pair. I managed to find time to update the former a couple of years ago, so if you want to see how "tcplognke" would look if it had been updated, check out "enetlognke".
<https://developer.apple.com/library/mac/samplecode/enetlognke/Introduction/Intro.html#//apple_ref/doc/uid/DTS10003579>
Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
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