Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Network Traffic Measurement

  1. #1
    Junior Member
    Join Date
    Apr 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Network Traffic Measurement

    I want to build a java program which measures the broadband usage of a computer or traffic across the network and store the usage data and later display as a data dashboard. Can anyone please tell me where to start and how? The important thing is data counting.


  2. #2
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 263 Times in 232 Posts

    Default Re: Network Traffic Measurement

    Welcome to the forum.

    Where to start? Your favorite search engine. Do some research on the topic and determine what is necessary.
    What are you stuck on? Doing the research, recording usage, displaying the results?
    Thing is your question is very general and the only true answer would force someone else to do all of the dirty work to figure it out for you.
    Break the problem down into smaller and smaller steps, and get an overall idea of how to solve the problem. Once that is done you can start implementing the solution in code, and if you get stuck someone around the forum can (usually) offer advice to get you back on track.

  3. #3
    Junior Member
    Join Date
    Apr 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Network Traffic Measurement

    OK, actually I have been searching all over the web. I should refine my question.

    I have read about measuring network usage with the help of various languages, particularly I want to ask that in java, is it possible to do such a thing using a proxy server or using a particular methods that wrap the OS functionality (if any such thing exists). All I now want to do is to record per unit time the number of bytes transferred across, without bothering about what kind of packets they are or where they are headed.

    I just want a brief answer so as to which method will be the best, I don't want anybody to do research on my behalf but programming experts may know the possibility of using a particular method. A brief explanation will be of great help.

Similar Threads

  1. Traffic Simulator
    By slimergan in forum What's Wrong With My Code?
    Replies: 1
    Last Post: December 5th, 2012, 06:38 AM
  2. Traffic Light problems
    By sircamolate in forum What's Wrong With My Code?
    Replies: 5
    Last Post: November 28th, 2011, 03:02 PM
  3. Replies: 5
    Last Post: October 17th, 2011, 08:43 AM