RSPlib Discussions

Text archives Help


Re: [RSPlib-Discusssion] connectToPoolElement()


Chronological Thread 
  • From: "Marjan Bozinovski" <marjanb AT cpk.auc.dk>
  • To: "Thomas Dreibholz" <dreibh AT exp-math.uni-essen.de>, <rsplib-discussion AT sctp.de>
  • Subject: Re: [RSPlib-Discusssion] connectToPoolElement()
  • Date: Tue Oct 22 13:17:00 2002
  • List-id: RSPlib Discussions <rsplib-discussion.sctp.de>

>If you are using the same version of connectToPoolElement() as in
>examplepu.c, the ext_select() call after the ext_connect() should wait
until
>the connection is successfully established. The ext_connect() itself
>immediately returns, since the socket is set to non-blocking. Therefore,
the
>ext_select() is necessary.
>Please check if the ext_select() is executed and that there is no fork().
If
>the source is okay, send me the debug output (including all the debug
>#defines in the socket API enabled as for finding the fork() problem). Also
>send me your latest source, so I can try to reproduce it on our FreeBSD
>machine.

I am using the same connectToPoolElement() as in examplepu.c. But,
ext_select() is never executed. The ext_connect() returns 0, so in the next
"if" ext_select is not executed.

Regards,
Marjan





Archive powered by MHonArc 2.6.19+.

Top of page