TCP/IP Ports and Services
To establish a TCP/IP Client-Server connection, the client (WinCss)
must know the IP address of the system providing the server
functionality. In addition, each connection type (e.g. cssws to
WinCss) is identified through a unique port number. The TCP/IP services
file defines symbolic names for most of the ports used in a network
environment. Using these symbolic service names requires the services
file to be present on each network nodes, i.e. on the host and on all
client systems. On Unix systems, the file is located in the /etc
directory. On Windows systems the location varies depending on OS type
and version. Each line in the services file holds the service
name, a port number and a port type (for CSS the type should
always be tcp). To avoid conflicts with standard TCP/IP ports,
these numbers should have values > 5000 assigned by convention. Unitec
products use port numbers in the range from 6800 to 6999.
Since in heterogeneous environments the administration of the services
files requires considerable work, there has recently emerged the trend
to define so called well known ports for each connection type.
For the WinCss connection the port 6801 has been defined
as the default. To avoid conflicts with other software packages
another port number may be assigned during setup of WinCss.
This value is then stored string variable CssPort located in
the Windows registry under
HKEY_LOCAL_MACHINE\SOFTWARE\Unitec\WinCss\CurrentVersion
For all CSS servers (Unix and Windows NT) the port number is
defined in the WINCSS_PORT parameter of the configuration file css.default.
In addition, the programs cssws and WinCss allow to
specify TCP/IP configuration settings as command line arguments.
Example:
cssws -p 7001 |
the Unix WinCss server should use port
number 7001 to provide its services |
|
|
WinCss -h 128.41.1.1 -p 7001 |
the WinCss client connects itself with the
CSS server located on the host with the IP address 128.41.1.1
using the port number 7001 |
For server configuration refer to the Unix
and Windows/NT Server Configuration
topics and the CSS online manual.
|