Tcl Library Source Code
nameserv::common - Name service facility
Not logged in
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2018 Conference, Houston/TX, US, Oct 15-19
Send your abstracts to tclconference@googlegroups.com or submit via the online form
by Aug 20.

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

nameserv::common(n) 0.1 tcllib "Name service facility"

Name

nameserv::common - Name service facility, shared definitions

Synopsis

  • package require Tcl 8
  • package require nameserv::common ?0.1?

Description

Please read Name service facility, introduction first.

This package is internal and of no interest to users. It provides the commands of the name service facility which are shared by the client and server implemented by the packages nameserv::server and nameserv (the client).

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.

API

The package exports a single command, as specified below:

::nameserv::common::port

The result returned by the command is the id of the default TCP/IP port a nameservice server will listen on, and a name service client will try to connect to.

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::server(n)

Category

Networking