D950 Digital Mixing System
6-36 System Administration SW V3.3 Date printed: 05.12.03
6.10 TCP/IP Binding Process
The TCP/IP binding process takes a human-readable host name, service
name, and protocol, then maps it to a binary address. How the mapping is
done depends on the underlying TCP/IP implementation. Some versions
use database files; by convention, these are called hosts and services.
Other implementations use a Distributed Name Server (DNS), where the
address translation requires a network exchange. NT supports either
scheme. The D950 application uses local hosts and services files. The host
name is fetched from the host’s file:
(%SystemRoot%\SYSTEM32\DRIVERS\ ETC\HOSTS).
The gethostbyname() socket function maps the name to an Internet address.
Example file:
# Copyright (c) 1993-1995 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows NT.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a ‘#’ symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
192.1.0.218 localhost
The getservbyname() socket function takes a service name and protocol and
returns the corresponding port number. In a file based TCP/IP implemen-
tation like ours, this information is fetched from the service file (%System-
Root%\SYSTEM32\DRIVERS\ETC\SERVICES). This file is quite long; it has en-
tries for all the standard TCP/IP services. The portion describing ports and
protocols used by the D950 is shown below:
# Copyright (c) 1993-1995 Microsoft Corp.
#
# This file contains port numbers for well-known services as defined by
# RFC 1060 (Assigned Numbers).
#
# Format:
#
# <service name> <port number>/<protocol> [aliases...] [#<comment>]
#
autoctrl 20000/udp # D950 service
vmcctrl 20001/udp # D950 service
deskctrl 20002/udp # D950 service
monctrl 20003/udp # D950 service
gcctrl 20004/udp # D950 service
regctrl 20005/udp # D950 service
bridgectrl 20006/udp # D950 service