Page 2 of 2

Re: (SOLVED) I can't close program if...

Posted: Thu Oct 09, 2014 9:36 am
by camryfu
bartbes wrote:According to the documentation it actually returns 0 on success, but I'm not sure not being able to connect is a failure condition for it. (Because otherwise, why would it queue? It's probably trying to reconnect behind the scenes.)
This is my debug capture:

Image

Even fake ip and port can't change the result... so I am very confuse about the connect function.

Re: (SOLVED) I can't close program if...

Posted: Thu Oct 09, 2014 9:55 am
by bartbes
I guess the lua bindings must change that then, though I could find no evidence of that. Anyway, as I mentioned it probably only returns failure when it can't even attempt to connect, but success when it fails to connect, because it tries to reconnect in the background after.