CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2009
    Posts
    3

    Post Rate Measurement

    Hello every1

    I'm sending UDP Packets from 1 java program to another. I want to measure the rate at which these packets are being sent. I mean number of packets sent per second. What can be the logic for that???? Can somebody help by giving the code???

  2. #2
    Join Date
    Dec 2007
    Posts
    33

    Re: Rate Measurement

    Hello, i'm not a java programmer, so i'm not sure how it's going in this language, so i'll take a shot.
    I assume that the java language handle by itself in the process of creating the actual udp packets, and you(the programmer) just send the data.
    So what you can do is to monitor the connection using a packet sniffer, you can either make one or use existing one.
    there are many packet sniffers in the market, quick search in google will reveal dozens of them.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured