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

# nameserv::common(n) 0.2 tcllib "Name service facility"

## Name

nameserv::common - Name service facility, shared definitions

## Synopsis

- package require Tcl 8.5 9
- package require nameserv::common ?0.2?

- ::nameserv::common::port

## 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)

## Keywords

client, name service, server

## Category

Networking

## Copyright

Copyright © 2007-2008 Andreas Kupries <andreas_kupries@users.sourceforge.net>