lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi Oliver,

> socket.dns.toip() calls internally something like gethostbyname, which returns a pointer to a struct hostent.
> If you don't get this, you may have to change something in the socket library's sources, or in your OS :-)

I do get the table with ip addresses, but when the domain name can't
be resolved, I git `nil` and an error message without any aliases or
alternative IPs.

Paul.