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

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
camryfu
Prole
Posts: 5
Joined: Wed Oct 08, 2014 9:34 am

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

Post 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.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

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

Post 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.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 3 guests