// // CCNetwork.h // CCFC // // Created by xichen on 11-12-23. // Copyright 2011 ccteam. All rights reserved. // #import#include #include #include #define MACRO_LOCAL_LOOP_IP @"127.0.0.1" @interface CCNetwork : NSObject { } // get the total info of network flow, if returns FALSE, the returns upFlow and downFlow value can't be used. + (BOOL)getTotalNetworkFlow:(size_t *)upFlow withDownFlow:(size_t *)downFlow; @end
可能有更新:
googlecode链接地址: github地址: