Re: [fpc-pascal] "Aborting " a socket operation under Linux

2009-05-31 Thread Luca Olivetti
En/na Luca Olivetti ha escrit: En/na Rainer Stratmann ha escrit: Am Freitag, 29. Mai 2009 20:29 schrieb Luca Olivetti: En/na Rainer Stratmann ha escrit: May be socketoption so_linger would be a solutuion. http://www.developerweb.net/forum/archive/index.php/t-2982.html Nope, no change. I'm

Re: [fpc-pascal] "Aborting " a socket operation under Linux

2009-05-29 Thread Luca Olivetti
En/na Rainer Stratmann ha escrit: Am Freitag, 29. Mai 2009 20:29 schrieb Luca Olivetti: En/na Rainer Stratmann ha escrit: May be socketoption so_linger would be a solutuion. http://www.developerweb.net/forum/archive/index.php/t-2982.html Nope, no change. I'm testing a connect to a non exist

Re: [fpc-pascal] "Aborting " a socket operation under Linux

2009-05-29 Thread Rainer Stratmann
Am Freitag, 29. Mai 2009 20:29 schrieb Luca Olivetti: > En/na Rainer Stratmann ha escrit: > > May be socketoption so_linger would be a solutuion. > > http://www.developerweb.net/forum/archive/index.php/t-2982.html > > Nope, no change. > I'm testing a connect to a non existent host in the thread an

Re: [fpc-pascal] "Aborting " a socket operation under Linux

2009-05-29 Thread Luca Olivetti
En/na Rainer Stratmann ha escrit: May be socketoption so_linger would be a solutuion. http://www.developerweb.net/forum/archive/index.php/t-2982.html Nope, no change. I'm testing a connect to a non existent host in the thread and it won't terminate before the (quite long, 3 minutes, since it i

Re: [fpc-pascal] "Aborting " a socket operation under Linux

2009-05-29 Thread Rainer Stratmann
May be socketoption so_linger would be a solutuion. http://www.developerweb.net/forum/archive/index.php/t-2982.html Rainer Am Freitag, 29. Mai 2009 18:43 schrieb Luca Olivetti: > I have a thread managing a socket (using synapse but I don't think that > it matters, just keep in mind that each oper

[fpc-pascal] "Aborting " a socket operation under Linux

2009-05-29 Thread Luca Olivetti
I have a thread managing a socket (using synapse but I don't think that it matters, just keep in mind that each operation is blocking). Inside the thread, I try to connect, send and read in a loop. If I see an error, I just exit the loop and, if the thread is terminated, that's it, otherwise I try