how to check network or internet traffic in iphone
            
              I have to develop a module of **checking network or Internet traffic**  
     in my application.I have not idea about it.  
    is anybody have reference site or sample code regarding checking traffic .
    plz let me know Thanks.  
          This is code i am trying to do.  
    
    CTTelephonyNetworkInfo *netinfo = [[CTTelephonyNetworkInfo alloc] init];  
    CTCarrier *car = [netinfo subscriberCellularProvider];  
    NSLog(@"Carrier Name: %@", car.carrierName);  
    [netinfo release];
     NSLog(@"RTLD_LAZY = %@",RTLD_LAZY);  
   void *libHandle =dlopen("/System/Library/Frameworks/CoreTelephony.framework/CoreTelephony", RTLD_LAZY);  
    
    int (*CTGetSignalStrength)();  
    
    CTGetSignalStrength = dlsym(libHandle, "CTGetSignalStrength");  
    
    if( CTGetSignalStrength == NULL) 
    {
     NSLog(@"Could not find CTGetSignalStrength");  
     }  
      int result = CTGetSignalStrength();  
      NSLog(@"Signal strength: %d", result);  
      dlclose(libHandle);  
how to check network or internet traffic in iphone
===

            
              I have to develop a module of **checking network or Internet traffic**  
     in my application.I have not idea about it.  
    is anybody have reference site or sample code regarding checking traffic .
    plz let me know Thanks.  
          This is code i am trying to do.  
    
    CTTelephonyNetworkInfo *netinfo = [[CTTelephonyNetworkInfo alloc] init];  
    CTCarrier *car = [netinfo subscriberCellularProvider];  
    NSLog(@"Carrier Name: %@", car.carrierName);  
    [netinfo release];
     NSLog(@"RTLD_LAZY = %@",RTLD_LAZY);  
   void *libHandle =dlopen("/System/Library/Frameworks/CoreTelephony.framework/CoreTelephony", RTLD_LAZY);  
    
    int (*CTGetSignalStrength)();  
    
    CTGetSignalStrength = dlsym(libHandle, "CTGetSignalStrength");  
    
    if( CTGetSignalStrength == NULL) 
    {
     NSLog(@"Could not find CTGetSignalStrength");  
     }  
      int result = CTGetSignalStrength();  
      NSLog(@"Signal strength: %d", result);  
      dlclose(libHandle);  