|
內容簡介: |
本书是一部UNIX网络编程的经典之作。书中全面深入地介绍了如何使用套接字API进行网络编程。全书不但介绍了基本编程内容,还涵盖了与套接字编程相关的高级主题,对于客户服务器程序的各种设计方法也作了完整的探讨,还深入分析了流这种设备驱动机制。
本书内容详尽,几乎每章都提供精选的习题,并提供了部分习题的答案,是网络研究和开发人员理想的参考书。
|
目錄:
|
目录
Part 1. Introduction and TCPIP 简介和TCPIP 1
Chapter 1. Introduction 简介 3
1.1 Introduction 概述 3
1.2 A Simple Daytime Client 一个简单的时间获取客户程序 6
1.3 Protocol Independence 协议无关性 10
1.4 Error Handling: Wrapper Functions 错误处理:包装函数 11
1.5 A Simple Daytime Server 一个简单的时间获取服务器程序 13
1.6 Roadmap to ClientServer Examples in the Text 本书中客户服务器示例的路线图 16
1.7 OSI Model OSI模型 18
1.8 BSD Networking History BSD网络历史 20
1.9 Test Networks and Hosts 测试用网络及主机 22
1.10 Unix Standards Unix标准 25
1.11 64-Bit Architectures 64位体系结构 28
1.12 Summary 小结 29
Chapter 2. The Transport Layer: TOP, UDP, and SCTP 传输层:TCP、UDP和SCTP 31
2.1 Introduction 概述 31
2.2 The Big Picture 全景图 32
2.3 User Datagram Protocol UDP 用户数据报协议 34
2.4 Transmission Control Protocol TCP 传输控制协议 35
2.5 Stream Control Transmission Protocol SCTP 流控制传输协议 36
2.6 TCP Connection Establishment and Termination TCP连接的建立和终止 37
2.7 TIME_WAIT State TIME_WAIT状态 43
2.8 SCTP Association Establi
|
|