Two Laptop Bag
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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
jQuery in Action, 3rd edition