Clear packets sent / received

Hi all

Is it possible to erase the packets sent / received and return to 0?

Code to get sent or received packets:

long  no_of_packet_Sent = RadioInfo.getNumberOfPacketsSent();

long  no_of_packet_Received = RadioInfo.getNumberOfPacketsReceived();

Thank you guys

No, not directly.
You can store the current number and subtract the future results of

Tags: BlackBerry Developers

Similar Questions

  • Windows 7 network connection status sent/received packets in bytes by default. How can I change this setting so that the status is displayed in MBs.

    Windows 7 network connection status sent/received packets in bytes by default. How can I change this setting so that the status is displayed in MBs.

    Hey Muhammad,

    Thanks for posting the query on Microsoft Community.

    Design/default it appears in bytes not in MB.

    In the future, if you have problems with Windows, get back to us. We will be happy to help you.

  • no reply SYN/ACK received for most of the SYN packets sent to windows7, 2008, 2012, 8

    I have a small program that sends several TCP packets to a server.

    customer - portA-> server-portB
    customer - portA-> server-portC
    customer - portA-> server-port
    customer - portA-> server-door

    Packets are sent through libnet, in a loop.

    customer - portA - SYN-> server-portB (through Code)
    customer - portA - SYN-> server-portC (by Code)
    customer - portA - SYN-> server-port (by Code)
    customer - portA - SYN-> server-door (by Code)
    If I run the program in windows XP, it works fine, I get SYN/ACK for each package.
    After receiving the SYN/ACK, the nucleus (?, I'm not sure what to do, but not my code) sends an RST for each SYN/ACK received.

    customer - portA< ----syn/ack-----="" server-portb="">
    customer - portA - RST-> server-portB (not my Code)
    customer - portA< ----syn/ack-----="" server-portc="">
    customer - portA - RST-> server-portC (not my Code)
    customer - portA< ----syn/ack-----="" server-portd="">
    customer - portA - RST-> server-port (not my Code)
    customer - portA< ----syn/ack-----="" server-porte="">
    customer - portA - RST-> server-door (and not by my Code)

    However, when I run the program in windows7 (or window2012 or 2008 or windows8), SYN/ACK is received only for the first port, portB.
    And no RST is sent from the client side. In addition, the SYN/ACK is received repeatedly.

    customer - portA - SYN-> server-portB (through Code)
    customer - portA - SYN-> server-portC (by Code)
    customer - portA - SYN-> server-port (by Code)
    customer - portA - SYN-> server-door (by Code)
    customer - portA< ----syn/ack-----="" server-portb="">
    customer - portA< ----syn/ack-----="" server-portb="">
    customer - portA< ----syn/ack-----="" server-portb="">
    customer - portA< ----syn/ack-----="" server-portb="">
    customer - portA< ----syn/ack-----="" server-portb="">
    customer - portA< ----syn/ack-----="">

    I already tried to send RST after SYN/ACK to replicate what happened in XP but still no SYN/ACK is received for ports C to E.
    In addition, after sending the RST for portB, the server continues to send SYN/ACK of portB.

    customer - portA - SYN-> server-portB (through Code)
    customer - portA - SYN-> server-portC (by Code)
    customer - portA - SYN-> server-port (by Code)
    customer - portA - SYN-> server-door (by Code)
    customer - portA< ----syn/ack-----="" server-portb="">
    customer - portA - RST-> server-portB (this time through Code)
    customer - portA< ----syn/ack-----="" server-portb="">
    customer - portA< ----syn/ack-----="" server-portb="">
    customer - portA< ----syn/ack-----="" server-portb="">
    customer - portA< ----syn/ack-----="" server-portb="">
    customer - portA< ----syn/ack-----="">

    Rather than send the RST, I tried also to send ACK, RST/ACK or END/ACK but nothing has worked.

    Can someone help me with this please?
    I need to make my program works for all windows platforms.
    What I want is to receive SYN/ACK for each port (B to E).

    Are there differences in these windows platforms that can affect this TCP behavior?

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
  • Sent, received, Contacts appears is not in the mail

    I've updated windows 10, I've linked my accounts Microsoft and Skype, when I click on 'Skype's settings' in the mail app it shows good Skype account profile photo and name, I chose "Make this my default of Skype" in its settings.

    Yet when I send a message with the sent e-mail message appears on Skype Desktop and e-mail do not, when I receive a message back that it does not appear in the e-mail he shows up on Skype Office. My Skype contacts do not appear in the e-mail, but they still appear on Skype Office. I sent my wife a new invite contact and who showed no upward for her, because she's already a Skype contact.

    Do I need to uninstall Skype Desktop for this to work?

    Well, I fixed it completely on the accident. I got an error install with Visual Studio requiring a reset of the system, after which the Win10 e-mail sync very well with Skype app.

  • email sent, received as if a different e-mail account

    Some of my emails sent from my gmail account are received as if they were my mother's aol account. If the person responds without changing the email for my account, then the answer is my mother. I noticed in "sleep" mode my computer says I 2242 unopened emails. When I click on that it shows the email address of my mother, not mine. I asked her unopened emails how she and she's only 12. Person that I talked to has never heard of this kind of question. Hope someone can help me.

    Carla

    If you use OE, then go to tools | Accounts | Mail | Properties and verify that the parameters it for e-mail accounts.  If you don't use OE, then you need to indicate which program you use to access your e-mail.  If its through a webbrowser and gmail.com then you must ask to gmail.

    Steve

  • Windows 7: sometimes IP packets sent bad NIC

    I'm an investigation into a network on Windows 7 problem.  The problem is the following.

    We have a machine (PC1) that has two network cards.

    1 NETWORK card is connected to our network (130.x.y.z / 23).

    NIC2 is connected (via a switch) to a second network (192.68.x.y / 26).
    NIC2 is used for communication between PC1 and PC2.

    The problem is that once in while for PC2 IP packets are sent on NIC1 and the communication between PC1 and PC2 fails (we saw this via a network sniffer that we use)

    Question: is this a known bug in the operating system or a driver?

    The normal flow, PC1 wants to send an IP packet to the other PC (PC2):

    1. If the ARP table contains no entry for MAC PC2 PC1 will broadcast an ARP request,.

    2 PC1 PC2 ARP answered and refresh it ARP table,

    3 PC1 sends the IP packet to the address MAC of PC2.

    From time to time, however, IP packets are not sent to the MAC address of PC2, but the MAC address of the default gateway (on NIC1).  As PC2 is not accessible from the default gateway these packets are lost.  All of the following IP packets will be sent by the NIC1.  However at any given time (randomly?) PC1 will pass the right network card.

    Configuration: Two computers run on Windows 7 Enterprise Service Pack 1 64-bit

    PC1 / NIC1: Intel 82579LM Gigabit IP: 130.x.y.z 23, DHCP: Yes, the default gateway: 130.x.y.1

    PC1 / NIC2: Intel Gigabit AND Quad Port, IP: 192.68.x.y 26, DHCP: No.

    PC1 / NIC2: Intel Gigabit AND Quad Port, IP: 192.68.x.1 26, DHCP: No.

    This issue is beyond the scope of this site and must be placed on Technet or MSDN

    http://social.technet.Microsoft.com/forums/en-us/home

    http://social.msdn.Microsoft.com/forums/en-us/home

  • Droid SMS sent/received times?

    I recently had a (service through Verizon) Droid and ran into a little problem.

    When I receive an SMS, it lists a "sent" time, but that time is not the time the message was sent, but rather when I received it.  This means that if I have an SMS sent to me while my phone is turned off, it will list always time 'sent' as when I turned on my phone back.  Not very useful.  Any ideas on how to solve this problem? (or is there no solution with the current version of the android OS?)

    I think that the motorcycle or Google devs are aware of this and it is apparently on the menu "correction". I never mine turn off

  • Yahoo mail address auto-fill lists everyone already included in every email I ever sent/received

    At least that's what it looks like...

    FF (29.0.1)

    Re Yahoo mail: when entering a container for an email, the auto-fill drop down shows possible is well beyond my contacts. It includes everyone that I have never sent/REC/WAV and all addresses that have been also cc would be in these emails.

    What I read on the Yahoo boards that suggestions are generated from the data browser stored (IE. It's a browser problem is not a problem with Yahoo Mail). I have FF options to delete the history (disabled/offlinedata browse/download/cache/forms/search/cookies/connections/people) each FF closes.

    I am able to delete unwanted suggestions one at a time, but as a practical approach that goes beyond ridicule.

    FF maintains a master list of addresses of the party? If so, how can I delete everyone except my existing contacts?

    Thank you!

    Firefox does not save addresses except that form data; the data that you entered previously in Firefox.

    See if the history of the form of compensation solves this problem: history of the form of compensation

  • Why am I being sent received for the purchase that I did not?

    Hello

    I just got the second email with a purchase on iTunes Store that I have not bought, this time for a Netflix subscription. The last time I just ignored him because I have never enter my details of credit card at Apple before, so there is no way that I'm recharged, and indeed my bank statements will confirm this. When I followed the instructions in the email it allows me to connect to my Apple ID and ask my name, but also the details of credit card to confirm my identity. I won't put my card details in as I did before. In addition, there is no lock secured by the URL which means that my data is secure.

    Normally I would dismiss just this kind of thing as spam, but the email looks so realistic and I can browse the apple site both the email itself and the link told me to click which makes me wonder. I would like to just some clarification on what is happening here.

    Thank you.

    Contact iTunes supports as soon as you can.

    https://www.Apple.com/support/iTunes/contact/

  • How can I get my notifications by e-mail on my iPhone 6 to pop up when they are sent / received

    My emails are not pop up on the display open automatically, I have to go to mail a recycling them. Why and how can I fix this in the settings?

    Settings > Notifications > Mail. For the type of notification, select banner or alert.

  • BlackBerry Smartphones cannot clear icon mail received

    I have an icon that I have two unread e-mails on my home screen "BOLD", but after two days of search and to erase all messages in unopenned, the icon is still there.  How can I delete it?

    Pulling battery erased the message unopenned icon.

  • Problem with internet connection Wi - Fi Windows XP - very 'slow' packages

    Hi people, this problem has been driving me crazy for weeks, so I wonder if someone can provide a solution! Sorry for the long post, but I tried to put in as much information as possible.

    In short, I decided to rebuild an old laptop in Windows XP (2006) I (latest updates installed). I'm without audio (cannot find drivers), but this isn't so much a problem. The problem needs to connect to the WiFi.

    The internal WiFi card is an Intel (r) PRO/Wireless 2200BG (or, at least, it's the driver).

    WiFi is displayed as 'Connected' and ' Signal strength: Excellent "(as my laptop is sitting right next to the hub). Ethernet (wired) connection to the hub works perfectly. I have WiFi BT working connects perfectly with my Mac and my iPod, I know that there is absolutely no problem with the router.

    However, my laptop does not seem to want to connect WiFi, despite 'positive' messages above. All browsers (IE, Chrome, Firefox) display a message stating that they cannot connect to the internet. Nothing in browsers suggest that all DNS settings have been changed.

    I * think * the problem might be because the packets sent/received are still very low - if either enter three digits, I have a lot of luck. For now, they are stuck on envoys = 14, received = 3.

    So, what I have checked/tried is the following (all based on Google search) - none have worked:

    (1) I can confirm that the automatic Wireless Configuration is enabled, started and set to automatic, and that Windows is used to set up my network.
    (2) my wireless network appears in my favorite networks and is automatically connected to (or should be :-)) - I have added/removed the connection several times, check the wireless key, every time, without success.)
    (3) the TCP/IP menu is configured to obtain an IP address and a DNS service automatically.
    (4) type ipconfig/all at the command prompt seems to show that everything works OK:

    • The physical address is: 00-16-xx-xx-xx-xx (I removed the last few digits as it is an open forum, but is probably not a security issue)
    • DHCP is enabled.
    • Automatic configuration is enabled.
    • The IP address is 192.xxx.x.xx (as above)
    • Subnet mask is 255.255.255.0
    • Default gateway, DHCP and DNS server are all the 192.xxx.x.xxx (as above)

    However, IP routing is NOT enabled or is Proxy WINS. Node type appears as unknown.

    I tried the DNS, IP address in the command line (don't remember the command), hot flashes reset everything I can think of or have found via an internet search.

    I also tried the two separate Wireless USB key (only install the drivers - now deleted), which is not working.

    I am so right in thinking that everything seems OK, except the transfer of packages very low? Anyone who has any other control I can try - or better yet, a potential solution?

    Thank you!

    Hello c0ley,

    Have you tried to change the wireless channel that your router is running at? There may be interference that could prevent the internet connection:
    Take a look at step 6 in this article that give more details about it:
    If you need assistance to change the settings of the specific router, you will need to contact your router manufacturer or your internet service provider.
  • Unable to access Internet Explorer 9 using Windows Vista, Service Pack 2

    I use Vista, Internet 9, desktop pc, cannot connect to Internet Explorer, get the message "Internet Explorer cannot display the webpage."  I click on diagnose connection problems and he says: "Windows cannot find any problems with the network connection on this computer."  Using Netgear and router.  All the lights are on, all connections are secure.  Two of them have reset several times that I care to mention.  I access internet using my wireless laptop or directly related.  Lower right of the screen on the task bar, it shows double computer and Internet Explorer icons.  When I click it, it brings up the network and sharing, and it shows the lines between desktop computer, network 2 (home network) and the Internet. But I can not connect to internet at all of this office.  I could, until what I deleted temporary files, run MS Security Essentials, then defraged.  Help, please!  I am in desperate need!  :-(

    Thank you

    Hello

    Method 1:
    Use the Internet Explorer (No Add-ons) mode, and check if it helps:

    http://Windows.Microsoft.com/en-us/Windows-Vista/Internet-Explorer-Add-ons-frequently-asked-questions

    Method 2:
    I also suggest you to consult the Knowledge Base article and check if it helps:
    http://support.Microsoft.com/kb/956196

    Method 3:
    Check if you are able to ping Web sites. You can try the following steps:
    a. click on the Windows "Start" button, then select the 'Run' utility in the start menu.

    b. Enter the following command in the field 'Open', then click 'OK ':
    cmd

    Command prompt opens in a separate window.

    c. Type "ping" followed by the URL of the Web site, you are trying to ping. You must leave a space between the 'ping' and the URL.

    For example, ping Yahoo.com, enter the following command:

    Ping www.yahoo.com

    d. apply the command by pressing the key "Enter" on the keyboard. You should see the information on statistics for the address ping IP is entered, including the number of packets sent, received or lost.

    If there is no packet lost, your Internet connection is working normally. However, if there are packages that are lost, you may have a problem with your Internet connection.

  • BluetoothSerialPortListener: How can I get information about existing ports?

    Hello

    I need information (packets sent/received) on the activities of bluetooth on a device and found the net.rim.device.api.bluetooth and the javax.bluetooth package. The samples that I found all Creation/use own bluetooth Manager and to implement their own methods of send/receive (so they can count themselve ). But I somehow tuned to the existing/default; I couldn't find out how.

    I also tried to use the RadioStatusListener, but it does not manage the bluetooth?

    Please give me some tip! Thank you

    There is no support for this within the set of APIs of BlackBerry.  An application cannot access Bluetooth connections made from other applications.

  • Data sent and received by app

    long no_of_packet_sent = RadioInfo.getNumberOfPacketsSent ();
    long no_of_packet_recieved = RadioInfo.getNumberOfPacketsReceived ();

    packet_sent = new LabelField ("amount of packets sent:" + no_of_packet_sent);
    Add (packet_sent);

    packet_recieved = new LabelField ("amount of the packets received:" + no_of_packet_recieved);
    Add (packet_recieved);

    Hey all

    The above code returns the amount of data sent and received (in bytes from what I understand)

    I want to collect the data sent and received by the application, under the code gives me only one name of the Application:

    ApplicationManager Manager = ApplicationManager.getApplicationManager ();
    ApplicationDescriptor descriptors [] = manager.getVisibleApplications ();
    ApplicationDescriptor descriptor = ApplicationDescriptor.currentApplicationDescriptor ();
    String visible_apps = descriptors [0] .getName ();
    String current_apps_Descr = descriptor.getName ();

    Descriptor = new LabelField ("descriptor:"+ visible_apps ");
    Add (Descriptor);

    1. is there a specific function to retrieve data sent & received by app or how should you go about it?

    2. What am I doing wrong in the second part of the code that it displays all running applications?

    The guidelines would be apreciated.

    Thank you

    lol the methods you listed are the only way, there is no other, more information available.

    regarding the second question (better use a thread to one of the questions next time):
    ApplicationDescriptor descriptors [] = manager.getVisibleApplications ();
    This line gets you a table. You can use descriptors.length to check the size and a loop (for example) to iterate over it.

Maybe you are looking for

  • Frequency of the Apple TV DHCP

    I see my Wired Apple TV 4 DHCP requests every minute. This doesn't seem fair.

  • iPhone cannot back up on iTunes

    Hello. I tried to backup my iPhone 6 in my iTunes as I always did, but it stopped working a few months prompting the error «itunes could not backup of iphone because it was unplugged» I now need to back up my phone... I've searched the web and commun

  • Carpet mouse and keyboard Lenovo Y40 - 70 do not work

    I have a Lenovo Y40-70 running Windows 8.1 64bits. A couple of days, I restarted the laptop and it installed updates. After you install the updates, the keyboard and the mouse do not work (I had to use a keyboard external usb and a mouse to open a se

  • Installation of old game by using the program compatibility Wizard

    First of all, I don't know anything about computers, and all I know I Googled it, so stupid to speak for me. I have a windows vista 64 computer and recently I ordered online (Direct2Drive.com) and downloaded the game Roller Coaster Tycoon 2. I tried

  • How can I prevent the automatic updates duplicated to download to my computer?

    Why do I receive the same updates each time I have turn off my computer?  Y at - it something I can do to prevent updates double to install on my computer.  It is an example the updates I receive all the time. Windows XP Security Update for Microsoft