This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes Limiting sokcet bandwidth Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Limiting sokcet bandwidth" Watch "Limiting sokcet bandwidth" New topic
Author

Limiting sokcet bandwidth

Miklos Szeles
Ranch Hand

Joined: Oct 21, 2008
Posts: 142
Hi,
Is there any solution to limit the bandwidth(especially the outgoing) of a Socket? My first idea is to use udp protocol and implement the tcp communication based on that and then I can build in a bandwidth limit functionality. My second idea is to override some part of the socket class to achieve my goal. Are there any other possibilities? Which way should I go?
Thanks in advance
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Limiting sokcet bandwidth
 
Similar Threads
http compressed channel
Javascript and .NET
Dos command
maximum number of JMS connections on one server
JavaRanch Blog