nns(1) | Name service facility | nns(1) |
nns - Name service facility, Commandline Client Application
nns bind ?-host host? ?-port port? name data
nns search ?-host host? ?-port port? ?-continuous? ?pattern?
nns ident ?-host host? ?-port port?
nns who
Please read Name service facility, introduction first.
The application described by this document, nns, is a simple command line client for the nano name service facility provided by the Tcllib packages nameserv, and nameserv::server. Beyond that the application's sources also serve as an example of how to use the client package nameserv. All abilities of a client are covered, from configuration to registration of names to searching.
This name service facility has nothing to do with the Internet's Domain Name System, otherwise known as DNS. If the reader is looking for a package dealing with that please see either of the packages dns and resolv, both found in Tcllib too.
nns was written with the following two main use cases in mind.
Beyond the above we also want to be able to identify the client, and get information about the name service.
The options to specify the name service will be explained later, in section OPTIONS.
The options to specify the name service will be explained later, in section OPTIONS.
If the option -continuous is specified the client will not exit after performing the search, but start to continuously monitor the service for changes to the set of matching entries, appropriately updating the display as changes arrive. In that form it will especially also survive the loss of the connection to the name service and reestablish the search when the connection is restored.
The options to specify the name service will be explained later, in section OPTIONS.
This section describes all the options available to the user of the application
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 [http://core.tcl.tk/tcllib/reportlist]. 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(3tcl), nameserv::common(3tcl)
application, client, name service
Networking
Copyright (c) 2007-2008 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.1 | tcllib |