View Single Post
  (#18 (permalink)) Old
misty83 Offline
Thumbs Must Hurt
 
Posts: 73
Join Date: Jan 2009
Model: 7100T
PIN: N/A
Carrier: -
Default 07-10-2009, 02:38 AM

and actually i have another question about these methods getNumberOfPacketsReceived()/Sent(). actually i think i do not understand them, i mean:

1. are these method for this, par example-when my application connects to a server and i sent to it, let's say and image.. so then i can call getNumberOfPacketsSent() and it would tell me how much data i've just sent?

2. or is it like that, when i call this method it returns me the number of packets that have been sent/received at that second when the methods were called?

3. or is it like that: i run my application and (par example) after one hour of the application's activity i call these methods so then they would return me how much data was sent/received during this hour?

that is really not clear to me..
   
Reply With Quote