This week's book giveaway is in the Beginning Java forum.
We're giving away four copies of Murach's Java Programming and have Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Max Connections in Midp2  RSS feed

 
Syam Sathyan George
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was just wondering if any one tried making more than one Connection at a time to acess network data.

Does cldc1.1 support this???
 
Tim Holloway
Saloon Keeper
Posts: 18635
70
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would be VERY surprised to see a 1-connection limit. That would be almost useless. The ultimate limit is actually probably set by the underlying platform and not the Java networking subsystem.
 
Syam Sathyan George
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, but in many cases (as much as i can remember!!!) it only a single connection used to read a resource.

Especially in many apps(Examples included many from getjar.com etc),what we can see is that at a time only one Connection is used to read, so for reading 5 images, what usually seen is a scheduled reading (one at a time).

one major difference was Google maps on mobile which was so fast in reading all the images(i suspect it uses the other way -"using more connections???")

Can you give a satisfactory explanation?
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!