Create a traffic generator

This is a discussion on Create a traffic generator within the Networking/Device Communication forums, part of the General Programming Boards category; Hi, I am interested in creating a traffic generator for an IP network but I am not sure where to ...

  1. #1
    Registered User khpuce's Avatar
    Join Date
    May 2003
    Posts
    165

    Create a traffic generator

    Hi,

    I am interested in creating a traffic generator for an IP network but I am not sure where to begin. I was wondering if any of you guys could give me some guidance...

    Thanks

  2. #2
    template<typename T> threahdead's Avatar
    Join Date
    Sep 2002
    Posts
    214
    i suppose you want to create a program that is able to create network traffic.

    the easiest way to go for it, is to write a socket program, that uses raw sockets for example, and then sends the desired packets.

  3. #3
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Read through the "useful links" thread at the top of this forum.

    >>that uses raw sockets for example
    and you need raw sockets because ...
    Maybe the term "traffic generator" is a bit vague, I take it that we just put data on the wire, which obviously only requires regular socket behaviour.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C help for network animator
    By fastshadow in forum Tech Board
    Replies: 7
    Last Post: 03-17-2006, 02:44 AM
  2. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 05:23 AM
  3. How to create a file association program?
    By eShain in forum Windows Programming
    Replies: 1
    Last Post: 03-06-2006, 11:15 AM
  4. Cannot create MDI Client Win
    By JaWiB in forum Windows Programming
    Replies: 1
    Last Post: 10-31-2005, 09:05 PM
  5. How to Create reference to an array in C++
    By shiv_tech_quest in forum C++ Programming
    Replies: 2
    Last Post: 12-20-2002, 09:01 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21