This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Limiting sokcet bandwidth" Watch "Limiting sokcet bandwidth" New topic

Limiting sokcet bandwidth

Miklos Szeles
Ranch Hand

Joined: Oct 21, 2008
Posts: 142
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
Javascript and .NET
Dos command
http compressed channel
JavaRanch Blog
maximum number of JMS connections on one server