How to generate UDP traffic?

M

_mario.lat

Hallo,
I'd like to generate UDP traffic for testing a line.
I'd like to write a program which send xMb/s of UDP.
How can I do?
How can I send an UDP to an IP address?
How to control the number of packets/seconds for controlling the bandwidth?
Thank you in advance,
Mario.
 
D

Daniel Pitts

_mario.lat said:
Hallo,
I'd like to generate UDP traffic for testing a line.
I'd like to write a program which send xMb/s of UDP.
How can I do?
How can I send an UDP to an IP address?
How to control the number of packets/seconds for controlling the bandwidth?
Thank you in advance,
Mario.

http://www.google.com/search?hs=XZv...a:en-US:official&q=datagramsocket&btnG=Search
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Thread.html#sleep(long)
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/System.html#currentTimeMillis()

All the information you need is here. Assuming you know Java at all.

Good luck.

Daniel.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top