When do you call socket.dns.getaddrinfo()? Is it called behind the scenes since you do a socket.bind()?
This ends up calling getaddrinfo() and from what I can tell it’s not possible to give that method call a timeout. Perhaps some kind of connectivity check should be done before trying to bind the socket?
Hmm, yes, maybe it can be solved internally. But we’re talking about the LuaSocket code and the getaddrinfo() C-call which as far as I can tell is completely out of our control.
Ok, no problem. I’ll avoid this by checking connectivity before.
It’s an issue in gamesparks sdk, but I don’t know how to report to them, I’ll fix it locally.