Create a packet generator using c#,java or c++
<p>i want to create my own packet generator, so that i am able to create packets of TCP,ICMP (ping, echo), UDP. I also want to set all the headers of packet and control all the flags my self, i mean i want to turn on the flags like SYN,FIN etc. I don't have any idea how to start it..</p>

<p>Any help/suggestions will be appreciated.. </p>

<p>P.S : i don't have any problem with C#,c++ or java, i am comfortable with all of them, so u can give implementation suggestions regarding to any of the above languages..
Thanks</p>

<p>regards</p>

<p>usama</p>
