网编编程必看书籍:unix网络编程
? ? ? ?unix網(wǎng)絡(luò)編程被譽為圣經(jīng),該書主要講socket套接字相關(guān),socket API,從底層剖析網(wǎng)絡(luò)編程。網(wǎng)絡(luò)編程中需要用到的一些經(jīng)典函數(shù),多路復(fù)用函數(shù),這些都值得去反復(fù)學(xué)習(xí)研究。
目錄:
錄
Part 1 Introduction and TCP/IP
簡介和TCP/IP
Chapter 1 Introduction
簡介
1.1 Introduction
概述
1.2 A Simple Daytime Client
一個簡單的時間獲取客戶程序
1.3 Protocol Independence
協(xié)議無關(guān)性
1.4 Error Handling: Wrapper Functions
錯誤處理:包裝函數(shù)
1.5 A Simple Daytime Server
一個簡單的時間獲取服務(wù)器程序
1.6 Roadmap to Client/Server Examples in theText
本書中客戶/服務(wù)器示例的路線圖
1.7 OSI Model
OSI模型
1.8 BSD Networking History
BSD網(wǎng)絡(luò)歷史
1.9 Test Networks and Hosts
測試用網(wǎng)絡(luò)及主機
1.10 Unix Standards
Unix標(biāo)準(zhǔn)
1.11 -Bit Architectures
位體系結(jié)構(gòu)
1.12 Summary
小結(jié)
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)
用戶數(shù)據(jù)報協(xié)議
2.4 Transmission Control Protocol (TCP)
傳輸控制協(xié)議
2.5 Stream Control Transmission Protocol(SCTP)
流控制傳輸協(xié)議
2.6 TCP Connection Establishment andTermination
TCP連接的建立和終止
2.7 TIME_WAIT State
TIME_WAIT狀態(tài)
2.8 SCTP Association Establishment andTermination
SCTP關(guān)聯(lián)的建立和終止
2.9 Port Numbers
端口號
2.10 TCP Port Numbers and ConcurrentServers
TCP端口號與并發(fā)服務(wù)器
2.11 Buffer Sizes and Limitations
緩沖區(qū)大小及限制
2.12 Standard Internet Services
標(biāo)準(zhǔn)因特網(wǎng)服務(wù)
2.13 Protocol Usage by Common InternetApplications
常見因特網(wǎng)應(yīng)用所用的協(xié)議
2.14 Summary
小結(jié)
Part 2 Elementary Sockets
基本套接字
Chanter 3 Sockets Introduction
套接字簡介
3.1 Introduction
概述
3.2 Socket Address Structures
套接字地址結(jié)構(gòu)
3.3 Value-Result Arguments
值-結(jié)果參數(shù)
3.4 Byte Ordering Functions
字節(jié)排序函數(shù)
3.5 Byte Manipulation Functions
字節(jié)操縱函數(shù)
3.6 inet_aton, inet_addr, and inet_ntoa Functions
inet_aton、inet_addr和inet_ntoa函數(shù)
3.7 inet_pton and inet_ntop Functions
inet_pton和inet_ntop函數(shù)
3.8 sock_ntop and Related Functions 6
sock_ntop和相關(guān)函數(shù)
3.9 readn, writen, and readline Functions
readn、writen和readline函數(shù)
3.10 Summary
小結(jié)
Chapter 4 Elementary TCP Sockets
基本TCP套接字
4.1 Introduction
概述
4.2 socket Function
socket函數(shù)
4.3 connect Function
connect函數(shù)
4.4 bind Function
bind函數(shù)
4.5 listen Function
listen函數(shù)
4.6 accept Function
accept函數(shù)
4.7 fork and exec Functions
fork和exec函數(shù)
4.8 Concurrent Servers
并發(fā)服務(wù)器
4.9 close Function
close函數(shù)
4.10 getsockname and getpeernameFunctions
getsockname和getpeername函數(shù)
4.11 Summary
小結(jié)
Chapter 5 TCP Client/Server Example
TCP客戶/服務(wù)器示例
5.1 Introduction
概述
5.2 TCP Echo Server: main Function
TCP回送服務(wù)器程序:main函數(shù)
5.3 TCP Echo Server: str_echo Function
TCP回送服務(wù)器程序:str_echo函數(shù)
5.4 TCP Echo Client: main Function
TCP回送客戶程序:main函數(shù)
5.5 TCP Echo Client: str_cli Function
TCP回送客戶程序:str_cli函數(shù)
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函數(shù)
5.11 Connection Abort before acceptReturns
accept返回前連接異常中止
5.12 Termination of Server Process
服務(wù)器進(jìn)程的終止
5.13 SIGPIPE Signal
SIGPIPE信號
5.14 Crashing of Server Host
服務(wù)器主機崩潰
5.15 Crashing and Rebooting of Server Host
服務(wù)器主機崩潰及重啟
5.16 Shutdown of Server Host
服務(wù)器主機關(guān)機
5.17 Summary of TCP Example
TCP示例小結(jié)
5.18 Data Format
數(shù)據(jù)格式
5.19 Summary
小結(jié)
Chapter 6 I/O多路復(fù)用:select和poll函數(shù)
Chapter 7 套接字選項
Chapter 8 基本UDP套接字
Chapter 9 基本SCTP套接字
Chapter 10 SCTP客戶/服務(wù)器示例
Chapter 11 名字與地址轉(zhuǎn)換
Part 3 高級套接字
Chapter 12 IPv4與IPv6的互操作性
Chapter 13 守護進(jìn)程和inetd超級服務(wù)器程序
Chapter 14 高級I/O函數(shù)
Chapter 15 Unix域協(xié)議
Chapter 16 非阻塞I/O
Chapter 17 ioctl操作
Chapter 18 路由套接字
Chapter 19 密鑰管理套接字
Chapter 20 廣播
Chapter 21 多播
Chapter 22 高級UDP套接字
Chapter 23 高級SCTP套接字
Chapter 24 帶外數(shù)據(jù)
Chapter 25 信號驅(qū)動I/O
Chapter 26 線程
Chapter 27 IP選項
Chapter 28 原始套接字
Chapter 29 數(shù)據(jù)鏈路訪問
Chapter 30 多種客戶/服務(wù)器設(shè)計方式
Chapter 31 STREAMS
Appendix A IPv4、IPv6、ICMPv4和ICMPv6
Appendix B 虛擬網(wǎng)絡(luò)
Appendix C 調(diào)試技術(shù)
Appendix D 其他源代碼
Appendix E 精選習(xí)題答案
總結(jié)
以上是生活随笔為你收集整理的网编编程必看书籍:unix网络编程的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 最容易看懂的汇编语言书籍:汇编语言 王爽
- 下一篇: 后台开发真的不需要看《tcpip详解》吗