RAPI.connect() without using RAPI.disconnect()

Oct 24, 2012 at 12:14 PM


We noticed that, at one of our customers the call to RAPI.connect() blocks after a couple of hours. This causes the thread where it's called to hang.

I'm having 2 questions about this:

1) does every RAPI.connect() require a RAPI.disconnect() call? Is there a maximum of RAPI.connect() calls?

2) what is the result of using the parameter version RAPI.connect(true, 3)? Is it always returned after a maximum of 3 seconds or are there circumstances under which the connect() still can block?