File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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
I agree. Here's the link:
subject: Limiting sokcet bandwidth
It's not a secret anymore!