UNIX網絡編程 捲1 套接字聯網API(第3版 英文版)

UNIX網絡編程 捲1 套接字聯網API(第3版 英文版) pdf epub mobi txt 電子書 下載 2025

[美] W. 理查德·史蒂文斯(W. Richard Stevens),比爾·芬納(Bill Fenner),安德魯 M. 魯道夫(Andrew M. Rudoff) 著
圖書標籤:
  • UNIX網絡編程
  • 套接字
  • 網絡編程
  • API
  • Sockets
  • 網絡
  • 編程
  • UNIX
  • 網絡
  • 技術
  • 英文版
想要找書就要到 靜流書站
立刻按 ctrl+D收藏本頁
你會得到大驚喜!!
齣版社: 人民郵電齣版社
ISBN:9787115401304
版次:2
商品編碼:11880047
品牌:異步圖書
包裝:平裝
開本:16開
齣版時間:2016-02-01
用紙:膠版紙
頁數:954
正文語種:中文

具體描述

編輯推薦

這是一部傳世之作!網絡編程專傢Bill Fenner和Andrew M. Rudoff應邀執筆,對W. Richard Stevens的經典作品進行修訂。書中吸納瞭近幾年網絡技術的發展,增添瞭IPv6、SCTP協議和密鑰管理套接字等內容,深入討論瞭新的關鍵標準、實現和技術。

書中的所有示例都是在UNIX係統上測試通過的真實的、可運行的代碼,繼承瞭Stevens一直強調的理念:“學習網絡編程的好方法就是下載這些程序,對其進行修改和改進。隻有這樣實際編寫代碼纔能深入理解有關概念和方法。”讀者可以從本書網站下載這些示例的源代碼。

本書為UNIX網絡編程提供全麵的指導,是網絡研究和開發人員公認的參考書,無論網絡編程的初學者還是網絡專傢都會大受裨益。

內容簡介

本書是一部UNIX網絡編程的經典之作。書中全麵深入地介紹瞭如何使用套接字API進行網絡編程。全書不但介紹瞭基本編程內容,還涵蓋瞭與套接字編程相關的高級主題,對於客戶/服務器程序的各種設計方法也作瞭完整的探討,還深入分析瞭流這種設備驅動機製。
本書內容詳盡,幾乎每章都提供精選的習題,並提供瞭部分習題的答案,是網絡研究和開發人員理想的參考書。

作者簡介

W. Richard Stevens(1951—1999) 國際知名的UNIX和網絡專傢,備受贊譽的技術作傢。生前著有《TCP/IP詳解》(三捲)、《UNIX環境高級編程》和《UNIX網絡編程》(兩捲),均為不朽的經典著作。

Bill Fenner AT&T;實驗室主任研究員,專攻IP多播、網絡管理和測量,他是IETF路由的領域主管之一,是RFC標準文檔的批準人。

Andrew M. Rudoff Sun公司軟件工程師,專攻網絡、操作係統內核、文件係統和高可用性軟件體係結構。

目錄

Part 1. Introduction and TCP/IP / 簡介和TCP/IP 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 Client/Server 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 Establishment and Termination / SCTP關聯的建立和終止 44
2.9 Port Numbers / 端口號 50
2.10 TCP Port Numbers and Concurrent Servers / TCP端口號與並發服務器 52
2.11 Buffer Sizes and Limitations / 緩衝區大小及限製 55
2.12 Standard Internet Services / 標準因特網服務 61
2.13 Protocol Usage by Common Internet Applications / 常見因特網應用所用的協議 62
2.14 Summary / 小結 63
Part 2. Elementary Sockets / 基本套接字 65
Chanter 3. Sockets Introduction / 套接字簡介 67
3.1 Introduction / 概述 67
3.2 Socket Address Structures / 套接字地址結構 67
3.3 Value-Result Arguments / 值-結果參數 74
3.4 Byte Ordering Functions / 字節排序函數 77
3.5 Byte Manipulation Functions / 字節操縱函數 80
3.6 inet_aton, inet_addr, and inet_ntoa Functions / inet_aton、inet_addr和inet_ntoa函數 82
3.7 inet_pton and inet_ntop Functions / inet_pton和inet_ntop函數 83
3.8 sock_ntop and Related Functions / sock_ntop和相關函數 86
3.9 readn, writen, and readline Functions / readn、writen和readline函數 88
3.10 Summary / 小結 92
Chapter 4. Elementary TCP Sockets / 基本TCP套接字 95
4.1 Introduction / 概述 95
4.2 socket Function / socket函數 95
4.3 connect Function / connect函數 99
4.4 bind Function / bind函數 101
4.5 listen Function / listen函數 104
4.6 accept Function / accept函數 109
4.7 fork and exec Functions / fork和exec函數 111
4.8 Concurrent Servers / 並發服務器 114
4.9 close Function / close函數 117
4.10 getsockname and getpeername Functions / getsockname和getpeername函數 117
4.11 Summary / 小結 120
Chapter 5. TCP Client/Server Example / TCP客戶/服務器示例 121
5.1 Introduction / 概述 121
5.2 TCP Echo Server: main Function / TCP迴送服務器程序:main函數 122
5.3 TCP Echo Server: str_echo Function / TCP迴送服務器程序:str_echo函數 123
5.4 TCP Echo Client: main Function / TCP迴送客戶程序:main函數 124
5.5 TCP Echo Client: str_cli Function / TCP迴送客戶程序:str_cli函數 125
5.6 Normal Startup / 正常啓動 126
5.7 Normal Termination / 正常終止 128
5.8 POSIX Signal Handling / POSIX信號處理 129
5.9 Handling SIGCHLD Signals / 處理SIGCHLD信號 132
5.10 wait and waitpid Functions / wait和waitpid函數 135
5.11 Connection Abort before accept Returns / accept返迴前連接異常中止 139
5.12 Termination of Server Process / 服務器進程的終止 141
5.13 SIGPIPE Signal / SIGPIPE信號 142
5.14 Crashing of Server Host / 服務器主機崩潰 144
5.15 Crashing and Rebooting of Server Host / 服務器主機崩潰及重啓 144
5.16 Shutdown of Server Host / 服務器主機關機 145
5.17 Summary of TCP Example / TCP示例小結 146
5.18 Data Format / 數據格式 147
5.19 Summary / 小結 151
Chapter 6. I/O Multiplexing: The select and poll Functions / I/O多路復用:select和poll函數 153
6.1 Introduction / 概述 153
6.2 I/O Models / I/O模型 154
6.3 select Function / select函數 160
6.4 str_cli Function (Revisited) / 再訪str_cli函數 167
6.5 Batch Input and Buffering / 批量輸入和緩衝 169
6.6 shutdown Function / shutdown函數 172
6.7 str_cli Function (Revisited Again) / 三顧str_cli函數 173
6.8 TCP Echo Server (Revisited) / 再訪TCP迴送服務器程序 175
6.9 pselect Function / pselect函數 181
6.10 poll Function / poll函數 182
6.11 TCP Echo Server (Revisited Again) / 三顧TCP迴送服務器程序 185
6.12 Summary / 小結 188
Chapter 7. Socket Options / 套接字選項? 191
7.1 Introduction / 概述 191
7.2 getsockopt and setsockopt Functions / getsockopt和setsockopt函數 192
7.3 Checking if an Option Is Supported and Obtaining the Default / 檢查選項是否被支持並獲取默認值 194
7.4 Socket States / 套接字狀態 198
7.5 Generic Socket Options / 通用套接字選項 198
7.6 IPv4 Socket Options / IPv4套接字選項 214
7.7 ICMPv6 Socket Option / ICMPv6套接字選項 216
7.8 IPv6 Socket Options / IPv6套接字選項 216
7.9 TCP Socket Options / TCP套接字選項 219
7.10 SCTP Socket Options / SCTP套接字選項 222
7.11 fcntl Function / fcntl函數 233
7.12 Summary / 小結 236
Chapter 8. Elementary UDP Sockets / 基本UDP套接字 239
8.1 Introduction / 概述 239
8.2 recvfrom and sendto Functions / recvfrom和sendto函數 240
8.3 UDP Echo Server: main Function / UDP迴送服務器程序:main函數 241
8.4 UDP Echo Server: dg_echo Function / UDP迴送服務器程序:dg_echo函數 242
8.5 UDP Echo Client: main Function / UDP迴送客戶程序:main函數 244
8.6 UDP Echo Client: dg_cli Function / UDP迴送客戶程序:dg_cli函數 245
8.7 Lost Datagrams / 數據報的丟失 245
8.8 Verifying Received Response / 驗證接收到的響應 246
8.9 Server Not Running / 服務器程序未運行 248
8.10 Summary of UDP Example / UDP示例小結 250
8.11 connect Function with UDP / UDP的connect函數 252
8.12 dg_cli Function (Revisited) / 再論dg_cli函數 256
8.13 Lack of Flow Control with UDP / UDP缺乏流量控製 257
8.14 Determining Outgoing Interface with UDP / UDP中的外齣接口的確定 261
8.15 TCP and UDP Echo Server Using select / 使用select函數的TCP和UDP迴送服務器程序 262
8.16 Summary / 小結 264
Chapter 9. Elementary SCTP Sockets / 基本SCTP套接字 267
9.1 Introduction / 概述 267
9.2 Interface Models / 接口模型 268
9.3 sctp_bindx Function / sctp_bindx函數 272
9.4 sctp_connectx Function / sctp_connectx函數 274
9.5 sctp_getpaddrs Function / sctp_getpaddrs函數 275
9.6 sctp_freepaddrs Function / sctp_freepaddrs函數 275
9.7 sctp_getladdrs Function / sctp_getladdrs函數 275
9.8 sctp_freeladdrs Function / sctp_freeladdrs函數 276
9.9 sctp_sendmsg Function / sctp_sendmsg函數 276
9.10 sctp_recvmsg Function / sctp_recvmsg函數 277
9.11 sctp_opt_info Function / sctp_opt_info函數 278
9.12 sctp_peeloff Function / sctp_peeloff函數 278
9.13 shutdown Function / shutdown函數 278
9.14 Notifications / 通知 280
9.15 Summary / 小結 286
Chapter 10. SCTP Client/Server Example / SCTP客戶/服務器示例 287
10.1 Introduction / 概述 287
10.2 SCTP One-to-Many-Style Streaming Echo Server: main Function / SCTP一到多式流分迴送服務器程序:main函數 288
10.3 SCTP One-to-Many-Style Streaming Echo Client: main Function / SCTP一到多式流分迴送客戶程序:main函數 290
10.4 SCTP Streaming Echo Client: str_cli Function / SCTP流分迴送客戶程序:str_cli函數 292
10.5 Exploring Head-of-Line Blocking / 探究頭端阻塞 293
10.6 Controlling the Number of Streams / 控製流的數目 299
10.7 Controlling Termination / 控製終止 300
10.8 Summary / 小結 301
Chapter 11. Name and Address Conversions / 名字與地址轉換 303
11.1 Introduction / 概述 303
11.2 Domain Name System (DNS) / 域名係統 303
11.3 gethostbyname Function / gethostbyname函數 307
11.4 gethostbyaddr Function / gethostbyaddr函數 310
11.5 getservbyname and getservbyport Functions / getservbyname和getservbyport函數 311
11.6 getaddrinfo Function / getaddrinfo函數 315
11.7 gai_strerror Function / gai_strerror函數 320
11.8 freeaddrinfo Function / freeaddrinfo函數 321
11.9 getaddrinfo Function: IPv6 / getaddrinfo函數:IPv6 322
11.10 getaddrinfo Function: Examples / getaddrinfo函數:示例 324
11.11 host_serv Function / host_serv函數 325
11.12 tcp_connect Function / tcp_connect函數 326
11.13 tcp_listen Function / tcp_listen函數 330
11.14 udp_client Function / udp_client函數 334
11.15 udp_connect Function / udp_connect函數 337
11.16 udp_server Function / udp_server函數 338
11.17 getnameinfo Function / getnameinfo函數 340
11.18 Re-entrant Functions / 可重入函數 341
11.19 gethostbyname_r and gethostbyaddr_r Functions / gethostbyname_r和gethostbyaddr_r函數 344
11.20 Obsolete IPv6 Address Lookup Functions / 廢棄的IPv6地址解析函數 346
11.21 Other Networking Information / 其他聯網信息 348
11.22 Summary / 小結 349
Part 3. Advanced Sockets / 高級套接字 351
Chapter 12. IPv4 and IPv6 Interoperability / IPv4與IPv6的互操作性 353
12.1 Introduction / 概述 353
12.2 IPv4 Client, IPv6 Server / IPv4客戶與IPv6服務器 354
12.3 IPv6 Client, IPv4 Server / IPv6客戶與IPv4服務器 357
12.4 IPv6 Address-Testing Macros / IPv6地址測試宏 360
12.5 Source Code Portability / 源代碼可移植性 361
12.6 Summary / 小結 362
Chapter 13. Daemon Processes and the inetd Superserver / 守護進程和inetd超級服務器程序 363
13.1 Introduction / 概述 363
13.2 syslogd Daemon / syslogd守護進程 364
13.3 syslog Function / syslog函數 365
13.4 daemon_init Function / daemon_init函數 367
13.5 inetd Daemon / inetd守護進程 371
13.6 daemon_inetd Function / daemon_inetd函數 377
13.7 Summary / 小結 379
Chapter 14. Advanced I/O Functions / 高級I/O函數 381
14.1 Introduction / 概述 381
14.2 Socket Timeouts / 套接字超時 381
14.3 recv and send Functions / recv和send函數 387
14.4 readv and writev Functions / readv和writev函數 389
14.5 recvmsg and sendmsg Functions / recvmsg和sendmsg函數 390
14.6 Ancillary Data / 輔助數據 395
14.7 How Much Data Is Queued? / 排隊的數據量 398
14.8 Sockets and Standard I/O / 套接字和標準I/O 399
14.9 Advanced Polling / 高級輪詢技術 402
14.10 Summary / 小結 408
Chapter 15. Unix Domain Protocols / Unix域協議 411
15.1 Introduction / 概述 411
15.2 Unix Domain Socket Address Structure / Unix域套接字地址結構 412
15.3 socketpair Function / socketpair函數 414
15.4 Socket Functions / 套接字函數 415
15.5 Unix Domain Stream Client/Server / Unix域流客戶/服務器 416
15.6 Unix Domain Datagram Client/Server / Unix域數據報客戶/服務器 418
15.7 Passing Descriptors / 描述符傳遞 420
15.8 Receiving Sender Credentials / 接收發送者的憑證 429
15.9 Summary / 小結 432
Chapter 16. Nonblocking I/O / 非阻塞I/O 435
16.1 Introduction / 概述 435
16.2 Nonblocking Reads and Writes: str_cli Function (Revisited) / 非阻塞讀和寫:再論str_cli函數 437
16.3 Nonblocking connect / 非阻塞connect 448
16.4 Nonblocking connect: Daytime Client / 非阻塞connect:時間獲取客戶程序 449
16.5 Nonblocking connect: Web Client / 非阻塞connect:Web客戶程序 452
16.6 Nonblocking accept / 非阻塞accept 461
16.7 Summary / 小結 463
Chapter 17. ioctl Operations / ioctl操作 465
17.1 Introduction / 概述 465
17.2 ioctl Function / ioctl函數 466
17.3 Socket Operations / 套接字操作 466
17.4 File Operations / 文件操作 468
17.5 Interface Configuration / 接口配置 468
17.6 get_ifi_info Function / get_ifi_info函數 469
17.7 Interface Operations / 接口操作 480
17.8 ARP Cache Operations / ARP高速緩存操作 481
17.9 Routing Table Operations / 路由錶操作 483
17.10 Summary / 小結 484
Chapter 18. Routing Sockets / 路由套接字 485
18.1 Introduction / 概述 485
18.2 Datalink Socket Address Structure / 數據鏈路套接字地址結構 486
18.3 Reading and Writing / 讀和寫 487
18.4 sysctl Operations / sysctl操作 495
18.5 get_ifi_info Function (Revisited) / get_ifi_info函數 500
18.6 Interface Name and Index Functions / 接口名字和索引函數 504
18.7 Summary / 小結 508
Chapter 19. Key Management Sockets / 密鑰管理套接字 511
19.1 Introduction / 概述 511
19.2 Reading and Writing / 讀和寫 512
19.3 Dumping the Security Association Database (SADB) / 安全關聯數據庫的轉儲 514
19.4 Creating a Static Security Association (SA) / 創建靜態安全關聯 517
19.5 Dynamically Maintaining SAs / 動態維護安全關聯 524
19.6 Summary / 小結 528
Chapter 20. Broadcasting / 廣播 529
20.1 Introduction / 概述 529
20.2 Broadcast Addresses / 廣播地址 531
20.3 Unicast versus Broadcast / 單播和廣播的比較 532
20.4 dg_cli Function Using Broadcasting / 使用廣播的dg_cli函數 535
20.5 Race Conditions / 競爭狀態 538
20.6 Summary / 小結 547
Chapter 21. Multicasting / 多播 549
21.1 Introduction / 概述 549
21.2 Multicast Addresses / 多播地址 549
21.3 Multicasting versus Broadcasting on a LAN / 局域網上多播和廣播的比較 553
21.4 Multicasting on a WAN / 廣域網上的多播 556
21.5 Source-Specific Multicast / 源特定多播 558
21.6 Multicast Socket Options / 多播套接字選項 559
21.7 mcast_join and Related Functions / mcast_join和相關函數 565
21.8 dg_cli Function Using Multicasting / 使用多播的dg_cli函數 570
21.9 Receiving IP Multicast Infrastructure Session Announcements / 接收IP多播基礎設施會話聲明 571
21.10 Sending and Receiving / 發送和接收 575
21.11 Simple Network Time Protocol (SNTP) / 簡單網絡時間協議 579
21.12 Summary / 小結 584
Chapter 22. Advanced UDP Sockets / 高級UDP套接字 587
22.1 Introduction / 概述 587
22.2 Receiving Flags, Destination IP Address, and Interface Index / 接收標誌、目的IP地址和接口索引 588
22.3 Datagram Truncation / 數據報截斷 594
22.4 When to Use UDP Instead of TCP / 何時用UDP代替TCP 594
22.5 Adding Reliability to a UDP Application / 給UDP應用增加可靠性 597
22.6 Binding Interface Addresses / 綁定接口地址 608
22.7 Concurrent UDP Servers / 並發UDP服務器 612
22.8 IPv6 Packet Information / IPv6分組信息 615
22.9 IPv6 Path MTU Control / IPv6路徑MTU控製 618
22.10 Summary / 小結 620
Chapter 23. Advanced SCTP Sockets / 高級SCTP套接字 621
23.1 Introduction / 概述 621
23.2 An Autoclosing One-to-Many-Style Server / 自動關閉的一到多式服務器程序 621
23.3 Partial Delivery / 部分遞送 622
23.4 Notifications / 通知 625
23.5 Unordered Data / 無序的數據 629
23.6 Binding a Subset of Addresses / 綁定地址子集 630
23.7 Determining Peer and Local Address Information / 確定對端和本端地址信息 631
23.8 Finding an Association ID Given an IP Address / 給定IP地址找齣關聯ID 635
23.9 Heartbeating and Address Failure / 心搏和地址不可達 636
23.10 Peeling Off an Association / 關聯剝離 637
23.11 Controlling Timing / 定時控製 639
23.12 When to Use SCTP Instead of TCP / 何時用SCTP代替TCP 641
23.13 Summary / 小結 643
Chapter 24. Out-of-Band Data / 帶外數據 645
24.1 Introduction / 概述 645
24.2 TCP Out-of-Band Data / TCP帶外數據 645
24.3 sockatmark Function / sockatmark函數 654
24.4 TCP Out-of-Band Data Recap / TCP帶外數據小結 661
24.5 Summary / 小結 662
Chapter 25. Signal-Driven I/O / 信號驅動I/O 663
25.1 Introduction / 概述 663
25.2 Signal-Driven I/O for Sockets / 套接字的信號驅動I/O 664
25.3 UDP Echo Server Using SIGIO / 使用SIGIO的UDP迴送服務器程序 666
25.4 Summary / 小結 672
Chapter 26. Threads / 綫程 675
26.1 Introduction / 概述 675
26.2 Basic Thread Functions: Creation and Termination / 基本綫程函數:創建和終止 676
26.3 str_cli Function Using Threads / 使用綫程的str_cli函數 679
26.4 TCP Echo Server Using Threads / 使用綫程的TCP迴送服務器程序 681
26.5 Thread-Specific Data / 綫程特定數據 686
26.6 Web Client and Simultaneous Connections (Continued) / Web客戶與同時連接(續) 694
26.7 Mutexes: Mutual Exclusion / 互斥鎖 697
26.8 Condition Variables / 條件變量 701
26.9 Web Client and Simultaneous Connections (Continued) / Web客戶與同時連接(續) 705
26.10 Summary / 小結 707
Chapter 27. IP Options / IP選項 709
27.1 Introduction / 概述 709
27.2 IPv4 Options / IPv4選項 709
27.3 IPv4 Source Route Options / IP源路徑選項 711
27.4 IPv6 Extension Headers / IPv6擴展首部 719
27.5 IPv6 Hop-by-Hop Options and Destination Options / IPv6步跳選項和目的選項 719
27.6 IPv6 Routing Header / IPv6路由首部 725
27.7 IPv6 Sticky Options / IPv6粘附選項 731
27.8 Historical IPv6 Advanced API / 曆史性IPv6高級API 732
27.9 Summary / 小結 733
Chapter 28. Raw Sockets / 原始套接字 735
28.1 Introduction / 概述 735
28.2 Raw Socket Creation / 原始套接字創建 736
28.3 Raw Socket Output / 原始套接字輸齣 737
28.4 Raw Socket Input / 原始套接字輸入 739
28.5 ping Program / ping程序 741
28.6 traceroute Program / traceroute程序 755
28.7 An ICMP Message Daemon / 一個ICMP消息守護進程 769
28.8 Summary / 小結 786
Chapter 29. Datalink Access / 數據鏈路訪問 787
29.1 Introduction / 概述 787
29.2 BSD Packet Filter (BPF) / BSD分組過濾器 788
29.3 Datalink Provider Interface (DLPI) / 數據鏈路提供者接口 790
29.4 Linux: SOCK_PACKET and PF_PACKET / Linux:SOCK_PACKET和PF_PACKET 791
29.5 libpcap: Packet Capture Library / libpcap:分組捕獲函數庫 792
29.6 libnet: Packet Creation and Injection Library / libnet:分組構造與注入函數庫 793
29.7 Examining the UDP Checksum Field / 檢查UDP的校驗和字段 793
29.8 Summary / 小結 815
Chapter 30. Client/Server Design Alternatives / 多種客戶/服務器設計方式 817
30.1 Introduction / 概述 817
30.2 TCP Client Alternatives / 各種TCP客戶程序設計方式 819
30.3 TCP Test Client / TCP測試用客戶程序 820
30.4 TCP Iterative Server / TCP迭代服務器程序 821
30.5 TCP Concurrent Server, One Child per Client / TCP並發服務器程序,每個客戶一個子進程 822
30.6 TCP Preforked Server, No Locking Around accept / TCP預先派生子進程服務器程序,accept無上鎖保護 826
30.7 TCP Preforked Server, File Locking Around accept / TCP預先派生子進程服務器程序,accept使用文件上鎖保護 832
30.8 TCP Preforked Server, Thread Locking Around accept / TCP預先派生子進程服務器程序,accept使用綫程上鎖保護 835
30.9 TCP Preforked Server, Descriptor Passing / TCP預先派生子進程服務器程序,傳遞描述符 836
30.10 TCP Concurrent Server, One Thread per Client / TCP並發服務器程序,每個客戶一個綫程 842
30.11 TCP Prethreaded Server, per-Thread accept / TCP預先創建綫程服務器程序,每個綫程各自accept 844
30.12 TCP Prethreaded Server, Main Thread accept / TCP預先創建綫程服務器程序,主綫程統一accept 846
30.13 Summary / 小結 849
Chapter 31. STREAMS / 851
31.1 Introduction / 概述 851
31.2 Overview / 概貌 851
31.3 getmsg and putmsg Functions / getmsg和putmsg函數 856
31.4 getpmsg and putpmsg Functions / getpmsg和putpmsg函數 857
31.5 ioctl Function / ioctl函數 857
31.6 Transport Provider Interface (TPI) / 傳輸提供者接口 858
31.7 Summary / 小結 868
Appendix A. IPv4, IPv6, ICMPv4, and ICMPv6 /
IPv4、IPv6、ICMPv4和ICMPv6 869
A.1 Introduction / 概述 869
A.2 IPv4 Header / IPv4首部 869
A.3 IPv6 Header / IPv6首部 871
A.4 IPv4 Addresses / IPv4地址 874
A.5 IPv6 Addresses / IPv6地址 877
A.6 Internet Control Message Protocols (ICMPv4 and ICMPv6) / 因特網控製消息協議(ICMPv4和ICMPv6) 882
Appendix B. Virtual Networks / 虛擬網絡 885
B.1 Introduction / 概述 885
B.2 The MBone 885
B.3 The 6bone 887
B.4 IPv6 Transition: 6to4 / IPv6過渡:6to4 889
Appendix C. Debugging Techniques / 調試技術 891
C.1 System Call Tracing / 係統調用跟蹤 891
C.2 Standard Internet Services / 標準因特網服務 893
C.3 sock Program / sock程序 893
C.4 Small Test Programs / 小測試程序 896
C.5 tcpdump Program / tcpdump程序 896
C.6 netstat Program / netstat程序 896
C.7 lsof Program / lsof程序 897
Appendix D. Miscellaneous Source Code / 其他源代碼 899
D.1 unp.h Header / unp.h頭文件 899
D.2 config.h Header / config.h頭文件 904
D.3 Standard Error Functions / 標準錯誤處理函數 910
Appendix E. Solutions to Selected Exercises / 精選習題答案 913
Bibliography / 參考文獻 947

前言/序言


用戶評價

評分

做活動 先買 有時間再看

評分

紙張質量太差,減1星。書是好書

評分

可以的很好

評分

此用戶未及時評價,係統默認好評。

評分

包裝太簡單

評分

質量很好,京東的物流真的沒得說

評分

書內容很好,送貨快,編輯畫蛇添足。還給翻譯title

評分

好東西。喜歡的很

評分

特價囤貨......

相關圖書

本站所有內容均為互聯網搜尋引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度google,bing,sogou

© 2025 windowsfront.com All Rights Reserved. 靜流書站 版權所有