Scroll to navigation

nameserv::common(3tcl) Name service facility nameserv::common(3tcl)


NAME

nameserv::common - Name service facility, shared definitions

SYNOPSIS

package require Tcl 8

package require nameserv::common ?0.1?

::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 [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.

SEE ALSO

nameserv::client(3tcl), nameserv::server(3tcl)

KEYWORDS

client, name service, server

CATEGORY

Networking

COPYRIGHT

Copyright (c) 2007-2008 Andreas Kupries <andreas_kupries@users.sourceforge.net>
0.1 tcllib