Re: SYSCTL
Re: SYSCTL
- Subject: Re: SYSCTL
- From: Mike Smith <email@hidden>
- Date: Sun, 8 Feb 2004 04:04:39 -0800
On Feb 7, 2004, at 3:45 PM, Matt Jaffa wrote:
I am planning on having my Daemon in userspace pass in the socket it
creates
so that I can use
unp_connect and bind the socket from userspace and the one i create in
the
Kernel together so that I can create a communication channel between
my User
Daemon and my KEXT,
In trying to parse this again, I'm even more confused.
What are you trying to do? Create a socket in userspace and then allow
your kext to read/write on that socket? Or are you trying to
communicate between your process and your kext?
If the former, then use descriptor passing (though you will need a
process in which to use the descriptors).
If the latter, then just use sysctl to communicate. It will work fine
for most things; you don't need or want the overhead of a socket in the
majority of cases.
= Mike
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.
References: | |
| >SYSCTL (From: Matt Jaffa <email@hidden>) |
| >Re: SYSCTL (From: Matt Jaffa <email@hidden>) |
| >Re: SYSCTL (From: "Matt Jaffa" <email@hidden>) |