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

📄 readme

📁 tcpip协议第三卷源码,下载下来可直接编译
💻
字号:
The files in this archive are the example programs from Chapter 1 of"TCP/IP Illustrated, Volume 3: TCP for Transactions, HTTP, NNTP, andthe UNIX Domain Protocols" by W. Richard Stevens (Addison-Wesley, 1996).All the source code files assume tabs stop every 4 columns, not 8.  Withvi I use ":set tabstop=4".The files with "time" in their name are versions that can be used to timethe client-server transactions (used for Figure 1.14 of the text).  Thethree server programs with "time" in their name also allow a command-lineoption specifying how long they should sleep, to simulate the serverprocessing time.  Also notice that these "time" clients have a doublynested loop: one for the request-reply size and another for the numberof iterations.The two T/TCP files with "big" in their name define the request and replysize to exceed one MSS (used for the example in Section 3.6 of the text).*Before* trying to make these programs, do something like	cc -c error.c sleepus.c	ar -crv libmisc.a error.o sleepus.o	ranlib libmisc.a	# needed for a BSD-derived systemThen change the definitions of CC, CFLAGS, and LIBS in the Makefile,as appropriate for your system.  Then you can "make all".

⌨️ 快捷键说明

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