> > To show a webpage are, let's say, 5 threads needed. If one presses
> > the F5 button once, all the 5 threads are passed fine. But in case
> > the F5 button is pressed several time, the first thread is started
> > several times too. The problem is, that only the last of these first
> > threads passes the loop and finishes the thread.All the others got
> > stuck in the SendString method. I tried using exception handling,
> > added a FSock.CanWrite(1000) before the loop and set an
> > FSock.Timeout(5000) in the Create method of the thread but
> > unfortunately nothing helped yet.

find in your code lines with:

setLinger(true,10)

...and change it to
        setLinger(true,10000)

:-)



-- 
Lukas Gebauer.

E-mail: [EMAIL PROTECTED]
http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to