I'm trying to communicate with a kernel extension using the kern
control APIs (Mac OS X 10.4.x).
Results:
--------
o When I build my project on a 10.1 machine, this is working fine.
o When I build it on 10.2 or later, it does not work.
What I mean by "it does not work":
----------------------------------
The user land socket is connected successfully AFAIK but the
readCallBack is never "called back".
This is the code I'm using:
---------------------------
CFDataRef tDataRef;
CFSocketSignature tSocketSignature;
PseudoKernControlStruct tStructure; // PseudoKernControlStruct is a
copy of the Kern control struct to be able to compile on pre 10.3
system
When compiled on 10.1 and run on 10.4: it works. MySocketCallBack is
called back.
When compiled on 10.4 and run on 10.4: it does not work.
MySocketCallBack is not called back.
When compiled on 10.3.9 with the 10.2.8 SDK, it does not work.
MySocketCallBack is not called back.
IIRC, I had seen this problem in the past with NKEMgr socket too.