Re: (SOLVED) I can't close program if...
Posted: Thu Oct 09, 2014 9:36 am
This is my debug capture: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.)

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