-
I'm trying to get both network and process events in two seperate kernel sessions that I created. I initially tried to use EnableKernelProvider on a single session and that failed with provider has to be enabled on the second call. Code looks like below:
With this, the only callbacks I'm able to get is the process events, the TCPIP Send and receive callbacks are not called at all. Any ideas on how to program for this? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
You should not need a second kernel session. In fact, several versions of Windows only support having one kernel session. Can you share the failure that you got for the second call to |
Beta Was this translation helpful? Give feedback.
-
I get the following: 'The kernel provider must be enabled first and only once in a session.' |
Beta Was this translation helpful? Give feedback.
-
Ah, thanks for sharing the code. You will want to change the line to:
You can OR the keywords together to make a single call. |
Beta Was this translation helpful? Give feedback.
Ah, thanks for sharing the code. You will want to change the line to:
You can OR the keywords together to make a single call.