learn java
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 The Software Craftsman this week in the Agile 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
Have you tried LearnNowOnline? http://www.learnnowonline.com/
subject: Limiting sokcet bandwidth