Re: servlet Socket.accept() method executes multiple times for a single connection



On Apr 4, 1:17 pm, "ILPTAB" <sruli...@xxxxxxx> wrote:
On Apr 3, 10:26 pm, "hiwa" <cardinal_r...@xxxxxxxxxxx> wrote:

On Apr 4, 6:57 am, "ILPTAB" <sruli...@xxxxxxx> wrote:

accept() method generating several threads
for a single socket connection

Your server code does not have problem for
that. If the client's operation on his/her
browser is unusuall, the same applet might
be instantiated multiple times in a short
period of time.

So are you saying that it's a browser setting that needs to be ckecked?

Server should have the flag:
thisSocketAlreadyConnectedDontMakeThread

.