mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-01-30 00:22:50 +01:00
Florian Zeitz
0c3e067af1
Add a getnameinfo() wrapper
This wrapper takes a domain name or an IP as first argument and a service name or port as second argument. Either argument may be nil. It returns a list of names (always only one in the IP case) and a service name.
This is the LuaSocket 2.1. It has been tested on --[[WinXP--]], Mac OS X, and --[[Linux--]]. Please use the Lua mailing list to report any bugs (or "features") you encounter. Have fun, Diego Nehab.
Languages
HTML
48.5%
C
27.1%
Lua
22.7%
Makefile
1.4%