![](/c49/30/10356884252.jpg)
出版社:人民郵電 ISBN:9787115401304 商品編碼:10356884252 開本:16 出版時間:2016-02-01 代碼:129 作者:史蒂文斯芬納魯道
" 基本信息 - 商品名稱:UNIX網絡編程(卷1套接字聯網API第3版英文版)
- 作者:(美)史蒂文斯//芬納//魯道夫
- 代碼:129
- 出版社:人民郵電
- ISBN號:9787115401304
其他參考信息 - 出版時間:2016-02-01
- 印刷時間:2016-02-01
- 版次:2
- 印次:1
- 開本:16開
- 包裝:平裝
- 頁數:954
- 字數:1186千字
內容提要 史蒂文斯、芬納、魯道夫編著的《UNIX網絡編程 (卷1套接字聯網API第3版英文版)》是一部UNIX網絡 編程的經典之作。書中全面深入地介紹了如何使用套 接字API進行網絡編程。全書不但介紹了基本編程內 容,還涵蓋了與套接字編程相關的**主題,對於客 戶/服務器程序的各種設計方法也作了完整的探討, *後還深入分析了流這種設備驅動機制。 本書內容詳盡且具**性,幾乎每章都提供精選 的習題,並提供了部分習題的答案,是網絡研究和開 發人員理想的參考書。 目錄 Part 1. Introduction and TCP/IP / 簡介和TCP/IP Chapter 1. Introduction / 簡介 1.1 Introduction / 概述 1.2 A Simple Daytime Client / 一個簡單的時間獲取客戶程序 1.3 Protocol Independence / 協議無關性 1.4 Error Handling: Wrapper Functions / 錯誤處理:包裝函數 1.5 A Simple Daytime Server / 一個簡單的時間獲取服務器程序 1.6 Roadmap to Client/Server Examples in the Text / 本書中客戶/服務器示例的路線圖 1.7 OSI Model / OSI模型 1.8 BSD Networking History / BSD網絡歷史 1.9 Test Networks and Hosts / 測**網絡及主機 1.10 Unix Standards / Unix標準 1.11 64-Bit Architectures / 64位體繫結構 1.12 Summary / 小結 Chapter 2. The Transport Layer: TOP, UDP, and SCTP / 傳輸層:TCP、UDP和SCTP 2.1 Introduction / 概述 2.2 The Big Picture / 全景圖 2.3 User Datagram Protocol (UDP) / 用戶數據報協議 2.4 Transmission Control Protocol (TCP) / 傳輸控制協議 2.5 Stream Control Transmission Protocol (SCTP) / 流控制傳輸協議 2.6 TCP Connection Establishment and Termination / TCP連接的建立和終止 2.7 TIME_WAIT State / TIME_WAIT狀態 2.8 SCTP Association Establishment and Termination / SCTP關聯的建立和終止 2.9 Port Numbers / 端口號 2.10 TCP Port Numbers and Concurrent Servers / TCP端口號與並發服務器 2.11 Buffer Sizes and Limitations / 緩衝區大小及限制 2.12 Standard Internet Services / 標準因特網服務 2.13 Protocol Usage by Common Internet Applications / 常見因特網應用所用的協議 2.14 Summary / 小結 Part 2. Elementary Sockets / 基本套接字 Chanter 3. Sockets Introduction / 套接字簡介 3.1 Introduction / 概述 3.2 Socket Address Structures / 套接字地址結構 3.3 Value-Result Arguments / 值-結果參數 3.4 Byte Ordering Functions / 字節排序函數 3.5 Byte Manipulation Functions / 字節操縱函數 3.6 inet_aton, inet_addr, and inet_ntoa Functions / inet_aton、inet_addr和inet_ntoa函數 3.7 inet_pton and inet_ntop Functions / inet_pton和inet_ntop函數 3.8 sock_ntop and Related Functions / sock_ntop和相關函數 3.9 readn, writen, and readline Functions / readn、writen和readline函數 3.10 Summary / 小結 Chapter 4. Elementary TCP Sockets / 基本TCP套接字 4.1 Introduction / 概述 4.2 socket Function / socket函數 4.3 connect Function / connect函數 4.4 bind Function / bind函數 4.5 listen Function / listen函數 4.6 accept Function / accept函數 4.7 fork and exec Functions / fork和exec函數 4.8 Concurrent Servers / 並發服務器 4.9 close Function / close函數 4.10 getsockname and getpeername Functions / getsockname和getpeername函數 4.11 Summary / 小結 Chapter 5. TCP Client/Server Example / TCP客戶/服務器示例 5.1 Introduction / 概述 5.2 TCP Echo Server: main Function / TCP回送服務器程序:main函數 5.3 TCP Echo Server: str_echo Function / TCP回送服務器程序:str_echo函數 5.4 TCP Echo Client: main Function / TCP回送客戶程序:main函數 5.5 TCP Echo Client: str_cli Function / TCP回送客戶程序:str_cli函數 5.6 Normal Startup / 正常啟動 5.7 Normal Termination / 正常終止 5.8 POSIX Signal Handling / POSIX信號處理 5.9 Handling SIGCHLD Signals / 處理SIGCHLD信號 5.10 wait and waitpid Functions / wait和waitpid函數 5.11 Connection Abort before accept Returns / accept返回前連接異常中止 5.12 Termination of Server Process / 服務器進程的終止 5.13 SIGPIPE Signal / SIGPIPE信號 5.14 Crashing of Server Host / 服務器主機崩潰 5.15 Crashing and Rebooting of Server Host / 服務器主機崩潰及重啟 5.16 Shutdown of Server Host / 服務器主機關機 5.17 Summary of TCP Example / TCP示例小結 5.18 Data Format / 數據格式 5.19 Summary / 小結 …… Part 3. Advanced Sockets / **套接字
" |