how to get amount of data which was uploaded and downloaded?
You can try to calculate in handleAppMessage in PacketTunnel.
Do you have any sample code for that? Can not find anything for this topic
On 2 Nov 2018, at 19:11, YaoOort [email protected] wrote:
You can try to calculate in handleAppMessage in PacketTunnel.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yaooort/OpenVPN-IOS/issues/2#issuecomment-435428747, or mute the thread https://github.com/notifications/unsubscribe-auth/AF2TiqXN8BwpQ4avSOvE2MgVRRZJhm_5ks5urG7GgaJpZM4YLmF-.
Sorry, all I know is that data in the data tunnel is all data that is downloaded and uploaded.
One of the problem is that with the PacketTunnel I can not use connection by NetworkExtension with IPSec or IKEv2 right? I need to setup connection by proxy? I can not just plug in this PacketTunnel and listen to messages. Or do you know the scheme how it should work?
On 2 Nov 2018, at 19:11, YaoOort [email protected] wrote:
You can try to calculate in handleAppMessage in PacketTunnel.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yaooort/OpenVPN-IOS/issues/2#issuecomment-435428747, or mute the thread https://github.com/notifications/unsubscribe-auth/AF2TiqXN8BwpQ4avSOvE2MgVRRZJhm_5ks5urG7GgaJpZM4YLmF-.