EMILUA(3em)
π EMILUA (3em)
okay so bestie, this one's from the Emilua gang β that's the Lua execution engine, no cap. buckle up, it's a short one and it ate π
β¨ NAME β¨
Emilua β the Lua execution engine herself π
πΈ SYNOPSIS πΈ
here's the vibe check, copy it exactly bestie:
local ip = require "ip"
ip.tcp.get_name_info()
ip.udp.get_name_info()
function(a: ip.address, port: integer)
-> { host_name: string, service_name: string }[]
like, that's the whole shape of it π¦
π₯ DESCRIPTION π₯
so what does it actually do? it reverse-resolves the endpoint into a list of entries. that's the main character move right there π
β heads up: the current fiber gets suspended until the operation finishes. like it literally just sits there waiting, respectfully π
it returns a list of entries β and each entry is a table holding these members:
host_name: string. πservice_name: string. β¨
and if you want more info, it's all over here in the Boost.Asio docs β https://www.boost.org/doc/libs/1_70_0/doc/html/boost_asio/reference/ip__basic_resolver/async_resolve/overload6.html π
and that's the page, bestie, you understood it perfectly, i'm obsessed π«Ά this was Emilua 0.12.1-nixpkgs1, dated 1980-01-01, and yes that date is iconic in a deeply cursed way ππ slay! π
π¦ where this page comes from
- nixos 26.05: emilua 0.12.1
- nixpkgs unstable: emilua 0.12.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms