Tcl Library Source Code

Documentation
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.


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

NAME

nameserv::server - Name service facility, Server

Table Of Contents

SYNOPSIS

package require Tcl 8.4
package require nameserv::server ?0.3.2?
package require comm
package require interp
package require logger

::nameserv::server::start
::nameserv::server::stop
::nameserv::server::active?
::nameserv::server::cget -option
::nameserv::server::configure
::nameserv::server::configure -option
::nameserv::server::configure -option value...

DESCRIPTION

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.

API

The package exports five commands, as specified below:

OPTIONS

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:

HISTORY

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.

SEE ALSO

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

KEYWORDS

name service, server

CATEGORY

Networking

COPYRIGHT

Copyright © 2007-2008 Andreas Kupries