nameserv::common(n)
π nameserv::common(n) β the shared-brain cell of the Name service facility π
okay bestie, welcome to nameserv::common, a manual page from the tcllib crew. it lives in the Name service facility section of the manual, and it is genuinely the most "backstage crew" page you will ever read. let's get into it π
β¨ NAME β¨
nameserv::common β Name service facility, shared definitions π«Ά
πΈ SYNOPSIS πΈ
package require Tcl 8.5 9
package require nameserv::common ?0.2?
::nameserv::common::port
like yes, that's the whole vibe. three little lines. iconic. π
π¦ DESCRIPTION π¦
okay so first thing's first: please read Name service facility, introduction before you do literally anything else here. it's the prerequisite, no skipping, i'm watching π
now the tea: this package is internal and of no interest to users. not me telling you to go home π it's just that it only exists to hold the commands of the name service facility that are shared</> between the client and the server β which are the ones implemented by the packages nameserv::server and nameserv (that's the client, bestie).
and a very important vibe check: this service is built on top of and for the package comm. it has nothing to do with the Internet's Domain Name System. if you came here looking for a package that deals with that DNS, the page is redirecting you to Tcllib's packages dns and resolv. different girlies entirely. β¨
π API π
the package exports exactly one command, as specified below:
::nameserv::common::portβ the result this command hands back is the id of the default TCP/IP port that a nameservice server will listen on, and that a name service client will try to connect to. that's it. that's the whole command. she serves one fact and serves it flawlessly π
π BUGS, IDEAS, FEEDBACK π
real talk: this document, and the package it describes, will undoubtedly contain bugs and other problems. no cap. please report such in the category nameserv of the Tcllib Trackers at [http://core.tcl.tk/tcllib/reportlist]. and please also report any ideas for enhancements you may have for either the package and/or the documentation β we want them, fr fr π«Ά
when proposing code changes, please provide unified diffs, i.e. the output of diff -u.
also note further that attachments are strongly preferred over inlined patches. attachments can be made by going to the Edit form of the ticket immediately after its creation, and then using the left-most button in the secondary navigation bar. yes it's a whole little quest. you got this. π
π₯ SEE ALSO π₯
nameserv::client(n)nameserv::server(n)
β KEYWORDS β
client, name service, server
πΈ CATEGORY πΈ
Networking
π COPYRIGHT π
Copyright (c) 2007-2008 Andreas Kupries <andreas_kupries@users.sourceforge.net>
and that's the whole page, bestie π this was nameserv::common(n) from tcllib, version 0.2 β shoutout to the source and the version for holding it down, mwah π
β¨
π¦ where this page comes from
- fedora 43: tcllib 2.0-3.fc43 Β· TCL
- fedora 44: tcllib 2.0-4.fc44 Β· TCL
- nixos 26.05: tcllib 2.0
- nixpkgs unstable: tcllib 2.0
- Copyright (c) 2007-2008 Andreas Kupries <andreas_kupries@users\&.sourceforge\&.net>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms