秋蝉,你的wattcp是在哪里下载的?我的wattcp里只在bin下有一个wattcp.cfg,大致也是配置文件,只不过很复杂,如下:
print = "Waterloo TCP/IP setup" ; optional key/value
my_ip = 192.168.1.2 ; really is 0.0.0.0, mandatory
hostname = "random-pc" ; optional
netmask = 255.255.255.0 ; mandatory if not using DHCP
domain_list = your.domain.com ; mandatory if not using DHCP
domain_to = 0 ; optional
sockdelay = 30 ; optional
inactive = 0 ; optional
datatimeout = 120 ; optional
debug = 0 ; optional
mss = 1460 ; optional
mtu = 1500 ; optional
mtu_disc = 0 ; optional
icmp_mask_req = 0 ; optional
language = en,$(ETC)\watlang.txt
hosts = $(ETC)\hosts
services = $(ETC)\services
protocols = $(ETC)\protocol
debug.file = wattcp.dbg ; optional
debug.filter = none
debug.proto = arp/rarp/ip/udp/tcp/icmp
debug.mode = header
debug.stat = 0
sk_debug.device = wattcp.sk
sk_debug.openmode = w+ ; default
syslog.file = ; optional
syslog.host = ; optional
syslog.port = 514 ; optional
syslog.level = emerg/alert/error ; optional
tftp.boot_file = ; optional
tftp.server = ; optional
tftp.timeout = 8 ; optional
tftp.retry = 5 ; optional
http.proxy = your.http.proxy: ; no default
talk.localuser =
talk.screenmode = autocr,split
talk.colors = 1E,1A,71,71,71
talk.alias = joe:joe@some.domain.com
talk.logfile = $(WATTCP.CFG)\talk\talk.log
talk.message = "%s is busy. Try again later.\n"
snuz.tmpdir = $(TEMP)
snuz.rc = $(ETC)\news\snuz.rc ; list of subscribed groups, etc
snuz.active = $(ETC)\news\active ; list of all groups
snuz.host = news.server.com ; news server ipaddr
snuz.from = joe@some.domain.com ; the user's email-address
snuz.editor = edit.exe ; editor for writing posts
snuz.smtp = "popmail send %H %D %f" ; external sendmail program
smbpd.workgroup = "my-work-group"
smbpd.printer1name = "my-printer-at-lpt1"
smbpd.printer2name = "my-printer-at-lpt2"
smbpd.printer3name = "my-printer-at-lpt3"
smtp.subdir = $(ETC)\smtpd\mail\ ; sub-dir for mail/temp files, must exist
smtp.sessions = 8 ; # of SMTP sessions
我曾经将c程序、wattcp生成的库放在一个工程中,将这个wattcp.cfg和工程放在同一个文件夹里,运行,结果屏幕停在"Waterloo TCP/IP setup" 就不动了。