I'm implementing a VPN client using PacketTunnelProvider.
I have a C code that talk to my sever, and this C code also has callbacks to my Swift code.
In those callbacks I just need to send / receive packets.
I do not need to create a tunnel with the server, because the C code does it for me.
So my question is, how to get all the packets ? I tried doing it with packetFlow, but without any success.
(And as for the moment, i'm trying to do it at the startTunnelWithOptions function, but not sure if it's the right place)
Thanks!