[Top] [Prev] [Next] [Bottom]


[Contents] [Index]

cs - start connection server daemon

lib/cs

Description

The cs command does the following:

  1. Creates a file named cs in the /net directory
  2. Spawns a daemon process also named cs
  3. Terminates while daemon cs continues execution, monitoring read and write requests to the /net/cs file.
Once the daemon process is running, application programs can write host names to /net/cs and read that same file to obtain the corresponding internet address. The response will consist of two fields of the form:

	/net/net/clone ipaddr!portno

When the host name translates to multiple physical addresses, each entry in the host address translations can be successively read from the same file (/net/cs).

The interface file, /net/cs, persists until removed or unmounted from /net. After removing /net/cs, kill and restart the cs daemon process to re-enable the connection service.


Note: Unmounting /net disables the internet protocol device (#I), including tcp and udp. After unmounting /net, restore the internet protocol device (e.g., bind `#I' /net) before killing and restarting the connection server.
If the cs daemon is already running, the command prints the message

	cs: already started

Options

The cs command has no options or arguments.

Files
/net/cs Application interface to connection server daemon
/services/cs/db Connection server service database

See Also

db - connection service database in Appendix A
cs - connection server daemon in Chapter 6


[Top] [Prev] [Next] [Bottom]

infernosupport@lucent.com
Copyright © 1997, Lucent Technologies, Inc.. All rights reserved.