Open 50611 opened 3 years ago
how to fix it??
add this header: https://github.com/EbrahimTahernejad/Tun2SocksKit/blob/3036fab88eda42e04dfcf86318a94b9f83a72ab2/Sources/Tun2SocksKitC/Tun2SocksKitC.h
Then use this property to get the fd: https://github.com/EbrahimTahernejad/Tun2SocksKit/blob/3036fab88eda42e04dfcf86318a94b9f83a72ab2/Sources/Tun2SocksKit/Tunnel.swift#L7
self?.packetFlow.value(forKeyPath: "socket.fileDescriptor") as! Int32 in ios15 is not use