Win a copy of Kotlin in Action this week in the Kotlin 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
Bartender
Posts: 18709
71
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!