I want to test speed of connected router(wifi modem) from iOS app.
I've found something here Get link speed programmatically? but could not found sockios.h and ethtool.h
Is it possible to port this code to Objective-C or is there another way?
--
Sorry for the missing info and my poor english.
I want to test link speed (tx rate) between ios device and connected wifi modem.
There was a property named txRate in CWInterface class. I want to get that data in Cocoa Touch.
/*!
* @property
* @abstract Current transmit rate (Mbps) of the CoreWLAN interface.
* @discussion Dynamically queries the interface for the current transmit rate.
*/
@property(readonly) NSNumber *txRate NS_DEPRECATED_MAC(10_6, 10_7);