I've managed to deduce [somewhat randomly] that I need to get an IONetworkData object from an IONetworkInterface [I think]. The problem is that even when I include IONetworkData.h from IOKit, I'm unable to declare a variable or pointer to an IONetworkData instance. The following fails: #import <IOKit/network/IONetworkData.h> int main(int argc, const char *argv[]) { IONetworkData* myData; ... } IONetworkData is clearly defined [in my eyes] in the header file, but, to no avail. This is obviously a typical newbie error, but anyone want to be nice and help me out anyway? :) _______________________________________________ cocoa-dev mailing list | cocoa-dev@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev Do not post admin requests to the list. They will be ignored.
participants (1)
-
Wade Tregaskis