Apologies if anyone considers this a non-java question.
IE imposes a limit on the number of simultaneous connections to a
given HTTP server:
http://support.microsoft.com/?kbid=183110
Does that limit apply to an applet run from IE?
The only information I could find through google was the following
link, which implies that the answer is "yes" but is quite dated:
http://www.island.com/bookviewer/javatrouble.asp
If the limit does apply, as I suspect it does, can I get around this
by using sockets instead?
Yes, I could write a test applet myself, but if someone already knows
the answer, I'd rather focus on writing other bits of code, instead.

Signature
monique
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
Roedy Green - 28 Sep 2005 22:37 GMT
>Yes, I could write a test applet myself, but if someone already knows
>the answer, I'd rather focus on writing other bits of code, instead.
If you do an experiment, make sure you have control over the server so
you know that you are measuring a clientside rather than a serverside
restriction.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
Daniel Hagen - 01 Oct 2005 18:34 GMT
> IE imposes a limit on the number of simultaneous connections to a
> given HTTP server:
>
> http://support.microsoft.com/?kbid=183110
>
> Does that limit apply to an applet run from IE?
If the browser is using the Microsoft VM, definitely yes, because the
Microsoft VM uses the MS Inet API for Network Connections.
I am not sure about the SUN JRE in IE (but I believe no).
The applet in the MS VM even has to share the HTTP-Connections with the
browser (i.e. if the browser is downloading on one or more connections,
these connections are lost to the applet during the time of these
downloads).
> If the limit does apply, as I suspect it does, can I get around this
> by using sockets instead?
I don't know about that - should work in my opinion.
Maybe you could also try to use a 3rd Party HTTP client implementation
if you don't mind the increased size of your applet.
If you have control over the clients you could also increase the number
of connections in the Windows Registry.
Or sign your applet and do that from your applet using the com.ms.*
classes if the users don't mind your applet messing with the registry
(you would have to split up your code for SUN and MS then).
Regards
Daniel
Monique Y. Mudama - 06 Oct 2005 22:44 GMT
> > IE imposes a limit on the number of simultaneous connections to a
> > given HTTP server:
[quoted text clipped - 6 lines]
> Microsoft VM uses the MS Inet API for Network Connections. I am not
> sure about the SUN JRE in IE (but I believe no).
It looks like you are right. A team mate changed some of our code so
that we are hitting some servers in parallel rather than in series, with
enormous performance benefits. No problems with arbitrary restrictions
on number of connections. We are using the Sun JRE, targetting 1.4 and
1.5.

Signature
monique
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html