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

Re: [fpc-pascal] undefined reference to `fpc_geteipasebx'

2009-05-29 Thread Jonas Maebe
On 29 May 2009, at 11:20, Jonas Maebe wrote: On 29 May 2009, at 11:01, Coco Pascal wrote: Sorry, but how can I solve the problem? -Cg is apparently a default setting; how can I undo this? It is not the default in the compiler for Linux/i386, but maybe Lazarus turns it on by default when

Re: [fpc-pascal] undefined reference to `fpc_geteipasebx'

2009-05-29 Thread Jonas Maebe
On 29 May 2009, at 11:01, Coco Pascal wrote: Sorry, but how can I solve the problem? -Cg is apparently a default setting; how can I undo this? It is not the default in the compiler for Linux/i386, but maybe Lazarus turns it on by default when compiling a library? Disabling it is done usi

Re: [fpc-pascal] undefined reference to `fpc_geteipasebx'

2009-05-29 Thread Coco Pascal
Marco van de Voort schreef: In our previous episode, Coco Pascal said: Jonas Maebe wrote: Don't use -Cg, it doesn't work yet for Linux/i386. I searched the Lazarus Compiler Options dialog but didn't find this parameter. What should I do? It enabled PIC. Sorry, but ho

Re: [fpc-pascal] undefined reference to `fpc_geteipasebx'

2009-05-29 Thread Marco van de Voort
In our previous episode, Coco Pascal said: > Jonas Maebe wrote: > > > > Don't use -Cg, it doesn't work yet for Linux/i386. > > > > > I searched the Lazarus Compiler Options dialog but didn't find this > parameter. What should I do? It enabled PIC. ___ f