Gnome2::VFS::DNSSD(3)

πŸ“¦
version 1.084 Β· 2 versions
, in fedora 43

πŸ’– Gnome2::VFS::DNSSD πŸ’–

okay bestie, welcome to Gnome2::VFS::DNSSD β€” a lil' slice of the User Contributed Perl Documentation universe ✨ this is the module that lets you do DNS-SD (that's service discovery, the thing that finds printers and music players on your network πŸ¦‹) through the Gnome2::VFS Perl bindings. she's niche, she's specific, and she is so real for that πŸ’…


✨ NAME ✨

Gnome2::VFS::DNSSD β€” that's the whole name section, no notes, she said what she said πŸ‘‘


πŸŽ€ METHODS πŸŽ€

every single one of these returns a list, btw. every. single. one. iconic consistency πŸ’–

🫢 list = Gnome2::VFS::DNSSD->browse ($domain, $type, $func, $data=undef)

the async-ish browse vibe. here's the cast of characters you're passing in:

  • $domain β€” a string πŸ“
  • $type β€” a string πŸ“
  • $func β€” a scalar (your callback energy ✨)
  • $data β€” a scalar (defaults to undef, no pressure bestie)

🧚 list = Gnome2::VFS::DNSSD->browse_sync ($domain, $type, $timeout_msec)

the same browse but she waits. synchronous queen behavior 😭

  • $domain β€” a string
  • $type β€” a string
  • $timeout_msec β€” an integer, in milliseconds, because we measure patience in msec around here ⏳

🌸 list = Gnome2::VFS->get_default_browse_domains

no arguments. zero. none. she just shows up and hands you a list of the default browse domains like it's nothing πŸ’… lowkey the easiest call in this whole page fr fr.

🌈 list = Gnome2::VFS::DNSSD->list_browse_domains_sync ($domain, $timeout_msec)

listing the browse domains, but synchronously. main character energy, no callback needed πŸ‘‘

  • $domain β€” a string
  • $timeout_msec β€” an integer

πŸ’œ list = Gnome2::VFS::DNSSD->resolve ($name, $type, $domain, $timeout, $func, $data=undef)

resolving time!! this is where you find out what a service actually is πŸ¦‹ and yes she takes a whole lil' ensemble:

  • $name β€” a string
  • $type β€” a string
  • $domain β€” a string
  • $timeout β€” an integer (note: this one's just $timeout, not $timeout_msec β€” read the signature carefully bestie, they are not the same variable name and I will not be merging them πŸ™ˆ)
  • $func β€” a scalar
  • $data β€” a scalar, defaulting to undef

⭐ list = Gnome2::VFS::DNSSD->resolve_sync ($name, $type, $domain, $timeout_msec)

resolve, but she blocks. the synchronous sister of the one above, and look β€” the timeout is spelled $timeout_msec here πŸŽ€

  • $name β€” a string
  • $type β€” a string
  • $domain β€” a string
  • $timeout_msec β€” an integer

πŸ‘€ SEE ALSO πŸ‘€

  • Gnome2::VFS β€” go read her, she's the parent module and she's got range πŸ’–

Copyright (C) 2003-2007, 2013 by the gtk2-perl team. periodt πŸ’…

This software is licensed under the LGPL. See Gnome2::VFS for a full notice β€” like, the actual full legal text, not my lil' summary 🫢


ngl, that's the whole page bestie. no hidden sections, no secret flags, no lore drops. what you see is what you get ✨

and that's a wrap!! this lil' gem of a page is perl v5.42.0, dated 2025-07-25, filed under Gnome2::VFS::DNSSD(3) in the User Contributed Perl Documentation. go forth and discover some services, mwah πŸ’‹πŸ’–πŸ¦‹

πŸ“¦ where this page comes from