⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wattcp.cfg

📁 开放源码的编译器open watcom 1.6.0版的源代码
💻 CFG
📖 第 1 页 / 共 2 页
字号:
#
#  Waterloo TCP/IP sample configuration file.
#
#  Use this file as a template to make your own.
#  This file should be located in "current directory" or in a directory
#  pointed to by the environment variable "WATTCP.CFG".
#
#  E.g. Put a copy of this file in "c:\net\watt\bin" and insert this
#       line in your AUTOEXEC.BAT:
#         set wattcp.cfg=c:\net\watt\bin
#
#  Note 1: No trailing `\' at end of line, and no spaces around the `='.
#
#  Note 2: The order of keywords/value pairs are significant.
#    For instance you have "my_dns = 134.121.10.8" in your
#    "c:\net\watt\bin\hosts" file, then "hosts = c:\net\watt\bin\hosts"
#    MUST be listed before the line specifying your nameserver;
#    "nameserver = my_dns".  The same rule applies to "gateway" and "cookie"
#
#  Note 3: the value (right of `=') is the default if you comment the
#    line out. Comments starts with `#' or `;'. To use `#' or `;' inside
#    string values, the string MUST be put in quotes.
#    E.g. these keywords have different values:
#      keyword = "hello world #;"
#      keyword = "hello world "#;
#
#  Note 4: The right-side value may contain an environment variable that
#    will be expanded when read. The effect is like in makefiles.
#    E.g. if environment variable ETC is "c:\net\watt\bin",
#         "$(ETC)\hosts" becomes "c:\net\watt\bin\hosts" after
#         expansion.  See "README.TOO" for details.
#
#  Note 5. Remember that all this text takes time to parse (especially on
#    a 386 CPU). Cut down the contents of your "WATTCP.CFG" (not this file,
#    a copy) to a minimum to improve speed.
#
#
# Text printed to screen (stdout).
#
print = "Waterloo TCP/IP setup"  ; optional key/value

#
# If using a fixed IP-address, insert the dotted decimal address below.
# If your LAN has a DHCP server, use "my_ip = dhcp".
# Likewise, if you want to get your IP-address via BOOTP or RARP servers.
#
my_ip = 192.168.1.2 ; really is 0.0.0.0, mandatory

#
# The name of this host excluding the domain-name.
# Note: may be overridden by DHCP/BOOTP server.
#       Max 50 characters.
#
hostname = "random-pc" ; optional

#
# A better method would be to define it via the environment.
#
#hostname = $(HOSTNAME)

#
# The netmask specifying the sub-net your are on.
# Note: may be overridden by DHCP/BOOTP server.
#
netmask = 255.255.255.0  ; mandatory if not using DHCP

#
# IP-address (or name) of DNS host(s). The DNS host's job is to
# translate hostnames to IP-addresses if the hostname isn't listed
# in $(ETC)\hosts.
#
# Note: DHCP/BOOTP servers may add additional nameservers to the one(s)
#       you specify here.
# Note: There are no default servers.  There can be a total of 10
#       nameservers. All nameserver are queried in sequence until an
#       IP-address is returned. Enter the "fastest" nameserver first
#       for best result.
#
# nameserver = 0.0.0.0  ; primary DNS, mandatory if not using DHCP
# nameserver = 0.0.0.0  ; secondary DNS, optional

#
# The IP-address (or name) of the LAN's gateway.
# If your are running DOS-PPP with EtherNet emulation this should be
# replaced with $(REMIP). For SLIP or normal PPP, gateway is not used.
#
# The syntax is "ip-addr [,subnet [,mask]]"
#
# Notes: Will most likely be overridden by DHCP/BOOTP server.
#        The ARP-routing table is limited to 12 gateways.
#
# gateway = 0.0.0.0  ; mandatory if not using BOOTP/DHCP

#
# The Internet Domain Name of your network (of which your sub-net is
# part of). The "Fully Qualified Domain Name" (FQDN) of your host is
# hostname + domain_list. E.g. "random-pc.your.domain.com".
#
# Note: domain_list (or previously named domainslist) is used by DNS to
#       resolve "dot-less names" (i.e. no `.' in host-name) recursively.
#       E.g. resolving "random-pc2" will query DNS for these names until
#            an IP-address is found:
#              "random-pc2.your.domain.com"
#              "random-pc2.domain.com"
#              "random-pc2.com"
#              "random-pc2"
#
# Note: domain_list may be overridden by DHCP server.
#       Max 50 characters.
#
domain_list = your.domain.com  ; mandatory if not using DHCP

#
# The old name for "domain_list". It has the same effect as
# "domain_list". Don't use both versions.
#
# domainslist = your.domain.com  ; mandatory if not using DHCP

#
# The total time waiting for response (and including retransmissions)
# from each DNS-host. The total host lookup time is <domain_to> *
# <number of nameservers>.  A value <4*sockdelay> is used if not defined
# (or if domain_to = 0).
#
domain_to = 0  ; optional

#
# Used by the BSD-socket API and connect() function (and for DNS-lookups).
# Default value is 30 sec.
#
sockdelay = 30  ; optional

#
# Inactivity timeout for TCP-sockets. A timer is started at reception
# of a TCP-packet and checked at each tcp_tick().
# Default value is 0 meaning no timeout.
#
inactive = 0  ; optional

#
# Data timeout for TCP-sockets. A timer is started when data is sent
# and checked at each tcp_tick(). The socket is closed if timed out.
# Default value is 120 (2min).
#
datatimeout = 120 ; optional

#
# Enable UDP/TCP-debug mode. Set to 1 (or 2 for more details) to print
# information regarding the TCP state-machine or UDP errors etc.
# Default value is 0.
#
debug = 0  ; optional

#
# Maximum Segment Size. The maximum size of each TCP-segment you are
# willing to receive is specified here. The upper limit of MSS is 40
# bytes less than the MRU (Maximum Receive Unit) of the link-layer.
# 40 = size of IP+TCP headers.
# E.g. 1460 for EtherNet or the MRU-40 for a PPP-driver.
#
# MSS is only used for TCP-sockets. The size of received
# UDP-datagrams cannot be controlled, but is limited to 1472 (1500-28).
#
# Default value of MSS is 1460.
#
mss = 1460  ; optional

#
# Maximum Transmission Units. The maximum size of any packet sent to the
# link-layer.
#
# Default value is 1500.
#
mtu = 1500  ; optional

#
# MTU discovery on opening TCP connections (ref. RFC1323)
# Not implemented yet, hence no effect.
#
mtu_disc = 0   ; optional

#
# Sending an "ICMP Mask Request" message after startup may help isolate
# problems caused by setting wrong 'netmask' (see above).
# The ICMP message is sent as link-layer broadcast and destination IP
# 255.255.255.255.
# There must be a host on the subnet that can answer this ICMP request.
# A warning ("Conflicting net-mask from ICMP Addr Mask Reply") is printed
# if the 2 netmasks differ.  Refer RFC-950 for details.
#
icmp_mask_req = 0  ; optional

#
# IP-address (or name) of cookie servers used by the COOKIE program.
# Most WinNT servers have cookie jars (allthough dull quotes).
# No default.
#
# cookie = 0.0.0.0 ; optional

#
# $(ETC) is an environment variable that should point to your Waterloo
# bin-directory.
#
# File specifying the language translations for all strings internal
# to Waterloo.  Only German (de), Norwegian (no) and Swedish (se)
# translations are included at the moment.  The WATLANG.TXT file is
# very incomplete at this moment, so the effective language is English (en).
#
language = en,$(ETC)\watlang.txt

#
# File specifying the list of <host-names> to <ip-address> mappings.
# This file is queried before any DNS-host is queried.
# Note: Win95/98/NT users may use the `hosts' file of the system.
#       On Win95/98   use `hosts = $(WINDIR)\system\hosts'
#       On WinNT/2000 use `hosts = $(WINDIR)\system32\drivers\etc\hosts'
#
# Same note applies to the `services', `protocol' and `networks' files.
#
hosts = $(ETC)\hosts

#
# File specifying the list of <service-name> to <protocol> mappings.
# This file is used by the <netdb.h> functions (getservbyname() etc).
#

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -