how to monitor current app network traffic

  • As far As i know, i found lots of developer's question about how to get current app network traffic in this forums.but unclear response from forums. getifaddrs function could get network traffic of entire device. is there any possible to get current app network traffic from this function.
  • we do not use http protocol ,such as url loading system, NSURlSession and son on, TCP protocol monitor current app network traffic.we cannot use a series of functions about socket program directly,such As send,socket,recv. maybe hook send of c language function for getting network traffic , fishhook of facebook was successed,but the dlsym,dlopen function were rejected by app review team ,so can not be upload to appstore.there was non public API to get single app network traffic.just like iphone setting.
  • so what can i do for this ?thanks in advance!

is there any possible to get current app network traffic from this function.

No. You can find my thoughts on this issue in this post.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

thanks

how to monitor current app network traffic
 
 
Q