They are not getting lost somewhere over the wire.
True, but probably unimportant (-: These days most link layers (notably Wi-Fi and the various WWAN protocols) provide link-layer retransmissions, so packets don’t get lost on the wire. What does happen is that packet get dropped by routers when they run out of buffer space. Which is exactly analogous to your situation.
Regardless, you should take steps to avoid runaway buffering in your provider. You do that by exert back pressure on the input flow. Keep track of the number of bytes you have queued on the output side and, if that number gets too high, suspend your reads from the input side (the NEAppProxyTCPFlow or NEAppProxyUDPFlow) until it drops to a reasonable level.
If there is anything else I can do for you to understand this issue better, i'm motivated to do it because we really want to fix this issue for skype support over tunnel.
I’m still confused by this position. Do you have any evidence that this buffering problem is related ot your Skype problem?
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
WWDC runs Mon, 5 Jun through to Fri, 9 Jun. During that time all of DTS will be at the conference, helping folks out face-to-face. http://developer.apple.com/wwdc/