EMILUA(3em)

πŸ“¦ version 0.12.1, in nixos 26.05, nixpkgs unstable

πŸ’… 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