I\'m trying to monitor network activity on my iPhone from within an app I\'m developing. Does iOS support a netstat-like command or something similar that can tell me what
I can't test this but from what I gather you will have to use sysctl in combination with sysctlnametomib or alternatively sysctlbyname for this:
sysctl
sysctlnametomib
sysctlbyname("net.inet.tcp.pcblist", ...)
and/or
sysctlbyname("net.inet.udp.pcblist", ...)