This week's book giveaway is in the iOS forum.
We're giving away four copies of Classic Computer Science Problems in Swift and have David Kopec on-line!
See this thread for details.
Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Speed of is.read(byte[]) not obeying parameters of transfer rate  RSS feed

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When downloading the data from an input stream from a Tomcat server, I use the following code:

ic = is.read(bytearray);

I have the transfer rate of my wireless access point and the server and client computer wireless cards set to 1Mb/s but the data is being read at rates much faster than that when I increase the size of the files being transferred. I can't figure out why the is.read is not following the transfer rate that I set. PLEASE HELP!!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!