新到貨2本75折
UNIX網絡編程(卷1):套接字聯網API(第3版)(英文版)

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

  • 定價:774
  • 優惠價:87673
  • 運送方式:
  • 臺灣與離島
  • 海外
  • 可配送點:台灣、蘭嶼、綠島、澎湖、金門、馬祖
  • 可取貨點:台灣、蘭嶼、綠島、澎湖、金門、馬祖
載入中...
  • 分享
 

內容簡介

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

[美] W. 理查德·史蒂文斯(W. Richard Stevens),比爾·芬納(Bill Fenner ),安德魯 M. 魯道夫(Andrew M. Rudoff) 譯者:無

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/簡介ITCP/IP
Chapter 1.Introduction/簡介
1.1Introduction/概述
1.2A Simple Daytime Client/一個簡單的時間獲取客戶程序
1.3Protocol Independence/協議無關性
1.4Error Handling: Wrapper Functions/錯誤處理:包裝函數
1.5A Simple Daytime Server/一個簡單的時間獲取服務器程序
1.6Roadmap to Client/Server Examples in the Text/本書中客戶,服務器示例的路線圖
1.70SI Model/OSI模型
18BSD Networking History/BSD網絡歷史
1.9Test Networks and Hosts,測試用網絡及主機
1.10Unix Standards/Unix標准
1.1164—Bit Architectures/64位體系結構
1.12Summary/小結
Chapter 2.The Transport Layer: TOP, UDP, and SCTP/傳輸層:TCP.UDP和SCTP
2.1Introduction/概述
2.2The Big Picture/全景圖
2.3User Datagram Protocol (UDP)/用戶數據報協議
2.4Transmission Control Protocol (TCP)/傳輸控制協議
2.5Stream Control Transmission Protocol (SCTP)/流控制傳輸協議
2.6TCP Connection Establishment and Termination/TCP連接的建立和終止
27TIME_WAIT State/TIME_WAIT狀態
2.8SCTP Association Establishment and Termination/SCTP關聯的建立和終止
2.9Port Numbers/端口號
2.10TCP Port Numbers and Concurrent Servers/TCP端口號與並發服務器
2.11Buffer Sizes and Limitations/緩沖區大小及限制
2.12Standard Internet Services/標准因特網服務
2.13Protocol Usage by Common Internet Applications/常見因特網應用所用的協議
2.14Summary/小結

Part 2.Elementary Sockets/基本套接字
Chanter 3.Sockets Introduction/套接字簡介
3.1Introduction/概述
3.2Socket Address Structures/套接字地址結構
3.3Value—Result Arguments/值一結果參數
3.4Byte Ordering Functions/字節排序函數
3.5Byte Manipulation Functions/字節操縱函數
3.6inet_aton,inet_addr,and iner_ntoa Functions/inet_aton.inet_addr和inet_ntoa函數
3.7inet_pton and iner_ntop FunctionS/inet_pton和inet_ntop函數
3.8sock_ntopand RelatedFunctions/sock_ntop和相關函數
3.9readn, writen, and readlineFunctions/readn.writen和readline函數
3.10Summar/小結
Chapter 4.Elementary TCP Sockets/基本TCP套接字
4.1Introduction/概述
4.2socketFunction/socket函數
4.3connectFunction/connect函數
4.4bind Function/bind函數
4.5listen Function/listen函數
4.6accept Function/accept函數
4.7forkand exec Functions/fork和exec函數
4.8Concurrent Servers/並發服務器
4.9close Function/close函數
4.10geLsockname and getpeernameFunctions/getsockname和getpeername函數
4.11Summary/小結
Chapter 5.TCP Client/Server Example/TCP客戶/服務器示例
5.1Introduction/概述
5.2TCP Echo Server: mainFunction,TCP回送服務器程序:main函數
5.3TCP Echo Server: str_ecrioFunction/TCP回送服務器程序:str_echo函數
5.4TCP Echo Client: mainFunction/TCP回送客戶程序:main函數
5.5TCP Echo Client: str_cliFunction/TCP回送客戶程序:str_cli函數
5.6Normal Startup/正常啟動
5.7Normal Termination/正常終止
5.8POSIX Signal Handling/POSIX信號處理
5.9Handling SICCHLD Signals/處理SIGCHLD信號
5.10waitand waitpidFunctions /wait和waitpid函數
5.11Connection Abort before accept Returns/accept返回前連接異常中止
5.12Termination of Server Process/服務器進程的終止
5.13SIGPIPE Signal/SIGPIPE信號
5.14Crashing of Server Host/服務器主機崩潰
5.15Crashing and Rebooting of Server Host/服務器主機崩潰及重啟
5.16Shutdown of Server Host/服務器主機關機
5.17Summary of TCP Example/TCP示例小結
5.18Data Format/數據格式
5.19Summary/小結
Chapter 6.I/O Multiplexing: The selectand pollFunctions/I/O多路復用:select和poll函數
6.1Introduction/概述
6.2I/O Models/1/0模型
6.3selectFunction/select函數
6.4str_cli Function (Revisited)/再訪str_cli函數
6.5Batch Input and Buffering/批量輸入和緩沖
6.6shutdown Function/shutdown函數
6.7str_cli Function (Revisited Again)/三顧str_cli函數
6.8TCP Echo Server (Revisited)/再訪TCP回送服務器程序
6.9pselect Function /pselect函數
6.10poll Function/poil函數
6.11TCP Echo Server (Revisited Again)/三顧TCP回送服務器程序
6.12Summary/小結
Chapter 7Socket Options/套接字選項
7.1Introduction/概述
7.2getsockopt and setsockoptFunctions/getsockopt和setsockopt函數
7.3Checking if an Option Is Supported and Obtaining the Default/檢查選項是否被支持並獲取默認值1
7.4Socket States/套接字狀態
7.5Generic Socket Options/通用套接字選項
7.6IPv4 Socket Options/IPv4套接字選項
77ICMPv6 Socket Option /ICMPv6套接字選項
78IPv6 Socket Options /IPv6套接字選項
7.9TCP Socket Options /TCP套接字選項
7.10SCTP Socket Options/SCTP套接字選項
7.11fcntl Function/fcntl函數
7.12Summary/小結
Chapter 8Elementary UDP Sockets/基本UDP套接字
8.1Introduction/概述
8.2recvfrom and sencltoFunctions/recvfrom和sendto函數
8.3UDP Echo Server: main Function/UDP回送服務器程序:main函數
8.4UDP Echo Server: dg_ecrioFunctionUDP回送服務器程序:dg_e cho函數
8.5UDP Echo Client: mainFunction/UDP回送客戶程序:main函數
8.6UDP Echo Client: dg_cliFunction/UDP回送客戶程序:dg_cli函數
8.7Lost Datagrams/數據報的丟失
8.8Verifying Received Response/驗證接收到的響應
8.9Server Not Running/服務器程序未運行
8.10Summary of UDP Example/UDP示例小結
8.11connectFunction with UDP/UDP的connect函數
8.12dg_cli Function (Revisited)/再論dg_cli函數
8.13Lack of Flow Control with UDP/UDP缺乏流量控制
8.14Determining Outgoing Interface with UDP/UDP中的外出接口的確定
8.15TCP and UDP Echo Server Using select/使用select函數的TCP和UDP回送服務器程序
8.16Summary/小結
Chapter 9.Elementary SCTP Sockets/基本SCTP套接字
9.1Introduction/概述
9.2Interface Models/接口模型
9.3sctp_bindx Function/sctp_bindx函數
9.4sctp_connectxFunction/sctp_connectx函數
9.5sctp_getpaddrs Function/sctp_getpaddrs函數
9.6sctp_freepaddrs Function/sctp_freepaddrs函數
9.7sctp_getladdrs Function/sctp_getladdrs函數
9.8sctp_freeladdrs Function/sctp_freeladdrs函數
9.9sc tp_sendmsg Functiori/sctp_s endmsg函數
9.10sctp_recvmsg Function/ sc tp_recvmsg函數
9.11sctp_opt_info Function/sctp_opt_in fo函數
9.12sctp_peeloff Function/sct p_peeloff函數
9.13shutdown Function/shutdown函數
9.14Notifications/通知
9.15Summary/小結
Chapter 10.SCTP Client/Server Example/SCTP客戶/服務器示例
10.1Introduction/概述
10.2SCTP One—to—Many—Style Streaming Echo Server:mainFunction/SCTP—到多式流分回送服務器程序:main函數
10.3SCTP One—to—Many—Style Streaming Echo Client:mainFunction/SCTP—到多式流分回送客戶程序:main函數
10.4SCTP Streaming Echo Client: str_cliFunction/SCTP流分回送客戶程序:str_cli函數
10.5Exploring Head—of—Line Blocking/探究頭端阻塞
10.6Controlling the Number of Streams/控制流的數目
10.7Controlling Termination/控制終止
10.8Summary/小結

Chapter 11.Name and Address Conversions/名字與地址轉換
11.1Introduction/概述
11.2Domain Name System (DNS)/域名系統
11.3gethostbyname Function/gethos tbyname函數
11.4gethostbyaddrFunction/gethostbyaddr函數
11.5getservbyname and getservbyportFunctions/getservbyname和getservbyport函數
11.6getaddrinfo Function/getaddrinfo函數
11.7gai_strerror Function/gai_strerror函數
11.8freeaddrinfoFunction/ freeaddrinfo函數
11.9getaddrinfo Furictiori:IPv6/get addrinfo函數:IPv6
11.10getaddrinfoFunction: Examples/getaddrinfo函數:示例
11.11host_serv Function /host_serv函數
11.12tcp_connect Function/tcp_connect函數
11.13tcp_listen Function/tcp_listen函數
11.14udp_client Function/udp_client函數
11.15udp_connect Function/udp_connect函數
11.16udp_server Function/udp_server函數
11.17getnameinfo Function/getnameinfo函數
11.18Re—entrant Functions/可重入函數
11.19gethostbyname_rand gethostbyaddr_rFunctions/gethostbyname_r和gethostbyaddr_r函數
11.20Obsolete IPv6 Address Lookup Functions/廢棄的IPv6地址解析函數
11.21Other Networking Information/其他聯網信息
11.22Summary/小結
……
Part 3.Advanced Sockets/高級套接字
Appendix A.IPv4, IPv6, ICMPv4, and ICMPv6 / IPv4.IPv6.ICMPv4和ICMPv6
Appendix B.Virtual Networks/虛擬網絡
Appendix C.Debugging Techniques/調試技術
Appendix D.Miscellaneous Source Code/其他源代碼
Appendix E.Solutions to Selected Exercises/精選習題答案
Bibliography/參考文獻
 

詳細資料

  • ISBN:9787115401304
  • 規格:954頁 / 普通級 / 2-1
  • 出版地:中國

最近瀏覽商品

 

相關活動

  • 【科普、飲食、電腦】高寶電子書暢銷書展:人生就是選擇的總和,全展75折起
 

購物說明

溫馨提醒您:若您訂單中有購買簡體館無庫存/預售書或庫存於海外廠商的書籍,建議與其他商品分開下單,以避免等待時間過長,謝謝。

大陸出版品書況:因裝幀品質及貨運條件未臻完善,書況與台灣出版品落差甚大,封面老舊、出現磨痕、凹痕等均屬常態,故簡體字館除封面破損、內頁脫落...等較嚴重的狀態外,其餘所有商品將正常出貨。 

 

請注意,部分書籍附贈之內容(如音頻mp3或影片dvd等)已無實體光碟提供,需以QR CODE 連結至當地網站註冊“並通過驗證程序”,方可下載使用。

調貨時間:若您購買海外庫存之商品,於您完成訂購後,商品原則上約45個工作天內抵台(若有將延遲另行告知)。為了縮短等待的時間,建議您將簡體書與其它商品分開訂購,以利一般商品快速出貨。 

若您具有法人身份為常態性且大量購書者,或有特殊作業需求,建議您可洽詢「企業採購」。 

退換貨說明 

會員所購買的商品均享有到貨十天的猶豫期(含例假日)。退回之商品必須於猶豫期內寄回。 

辦理退換貨時,商品必須是全新狀態與完整包裝(請注意保持商品本體、配件、贈品、保證書、原廠包裝及所有附隨文件或資料的完整性,切勿缺漏任何配件或損毀原廠外盒)。退回商品無法回復原狀者,恐將影響退貨權益或需負擔部分費用。 

訂購本商品前請務必詳閱商品退換貨原則

  • 翦商作者新作79折
  • 針灸匠張寶旬
  • 浪漫小說精選3本72折