How can I control the traffic speed (bytes sent) in Java (Jpcap)?

Work out how many packets of 8192 bytes you can send per second within the attainable bandwidth. Send that many packets (N), and after each one sleep for 1000/N milliseconds. You'll have to fine-tune it to account for time actually spent sending, but you get the general idea.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions