Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2006

Tip: Looking for answers? Try searching our database.

How to generate UDP traffic?

Thread view: 
_mario.lat - 20 Nov 2006 21:16 GMT
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.
Daniel Pitts - 20 Nov 2006 21:23 GMT
> Hallo,
> I'd like to generate UDP traffic for testing a line.
[quoted text clipped - 4 lines]
> Thank you in advance,
> Mario.

http://www.google.com/search?hs=XZv&hl=en&lr=&client=firefox-a&rls=org.mozilla%3
Aen-US%3Aofficial&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.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.