Tcl Library Source Code

EuroTcl/OpenACS 11 - 12 JULY 2024, VIENNA

[ Main Table Of Contents | Table Of Contents | Keyword Index | Categories | Modules | Applications ]


nameserv::server - Name service facility, Server

Table Of Contents


package require Tcl 8.5 9
package require nameserv::server ?0.3.3?
package require comm
package require interp
package require logger

::nameserv::server::cget -option
::nameserv::server::configure -option
::nameserv::server::configure -option value...


Please read Name service facility, introduction first.

This package provides an implementation of the serviver side of the name service facility queried by the client provided by the package nameserv. All information required by the server will be held in memory. There is no persistent state.

This service is built in top of and for the package comm. It has nothing to do with the Internet's Domain Name System. If the reader is looking for a package dealing with that please see Tcllib's packages dns and resolv.

This server supports the Core protocol feature, and since version 0.3 the Search/Continuous feature as well.


The package exports five commands, as specified below:


The options supported by the server are for the specification of the TCP port to listen on, and whether to accept non-local connections or not. They are:


Bugs, Ideas, Feedback

This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category nameserv of the Tcllib Trackers. Please also report any ideas for enhancements you may have for either package and/or documentation.

When proposing code changes, please provide unified diffs, i.e the output of diff -u.

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.


nameserv::client(n), nameserv::common(n)


name service, server




Copyright © 2007-2008 Andreas Kupries