Post

Replies

Boosts

Views

Activity

Get file descriptor of VPN TUN interface
Regarding the new iOS9 Network Extension classes NEPacketTunnelProvider and NEPacketTunnelFlow, is it possible to get the file descriptor (FD) of TUN interface associated to tunnel so that the FD can be used to sending/receiving packets to/from the interface (rather than receiving/sending through the functions readPacketsWithCompletionHandlerprovided()/writePackets() by NEPacketTunnelFlow).
7
0
5.8k
Aug ’15