On 10/07/2013 08:27 AM, NeilOwens wrote:
We used the debug code to resolve our issue.   Reinstantiating the
connection, session and senders seems less reliable in this scenario than
keeping everything constructed, and just reopening the connection object.  I
don't know why letting the old objects go out of scope and creating them
again didn't work.

The next thing we're addressing is the connection time.  There is a fairly
long timeout on the ::connect function.  Has anyone tried changing BSDSocket
to do the set non-blocking -> connect -> select statement loop until socket
is selected for write ->set non-blocking trick to reduce the timeout?

Have you tried setting a heartbeat? That should at least bound the connect time as it will give up if it doesn't connect within two heartbeat intervals. (That may of course not help, but just in case...)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to