Create a traffic generator [Archive] - C Board

PDA

View Full Version : Create a traffic generator


khpuce
10-02-2003, 05:02 AM
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

threahdead
10-02-2003, 10:18 AM
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.

Hammer
10-02-2003, 01:57 PM
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.