How to include network extension program in my cpp application?

Hi,

I am new to network extension programming. I have one 'cpp' application which will run under /usr/local/sample directory. I want to listen all UDP & TCP network operation using network extension Content Filter in my c++ application, and I want execute my own rules on received event.

Is it possible to register network extensions from my 'cpp' application and Is it possible to catch the events on TCP & UDP using network extension from my c++ application? How it would be possible? Please provide any sample program.

A Network Extension provider, either system extension or app extension, must be packaged within a real app.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
How to include network extension program in my cpp application?
 
 
Q