I want to use network framework to just probe tcp or udb endpoint and read the RTT value. In wwdc video , i could see a sample app which does exactly same, however i could not find the source code of the same. Can somebody help how to achieve probing? Thanks.
There is sample code for probing connection metrics with Network framework found here. This is part of the NWConnection.DataTransferReport API which can be found here. Inside pathReports you should be able to see metrics like RTT.
Matt Eaton
DTS Engineering, CoreOS
meaton3 at apple.com