📘
Beej's Guide to Network Programming 正體中文版
  • 簡介
  • 原著資訊
  • 譯者誌謝
  • 進階資料
  • 簡體中文版
  • 中文授權
  • 聯絡譯者
  • 1. 導讀
    • 1.1. 本書的讀者
    • 1.2. 平台與編譯器
    • 1.3. 官方網頁與書本
    • 1.4. Solaris/SunOS 程式設計師該注意的事
    • 1.5. Windows 程式設計師該注意的事
    • 1.6. 來信原則
    • 1.7. 鏡射站台(Mirroring)
    • 1.8. 譯者該注意的
    • 1.9. 版權與散佈
  • 2. 何謂 Socket
    • 2.1 兩種 Internet Sockets
    • 2.2 底層漫談與網路理論
  • 3. IP address、結構與資料轉換
    • 3.1. IPv4 與 IPv6
      • 3.1.1. Sub network (子網段)
      • 3.1.2. Port Number(連接埠號碼)
    • 3.2. Byte Order(位元組順序)
    • 3.3. 資料結構
    • 3.4. IP 位址,續集
      • 3.4.1 Private Network
  • 4. 從 IPv4 移植為 IPv6
  • 5. System call 或 Bust
    • 5.1. getaddrinfo()-準備開始!
    • 5.2. socket()-取得 File Descriptor!
    • 5.3. bind()- 我在哪個 port?
    • 5.4. connect(),嘿!你好。
    • 5.5. listen()-有人會呼叫我嗎?
    • 5.6. accept()- 謝謝你 call 3490 port
    • 5.7. send() 與 recv()- 寶貝,我們來聊天!
    • 5.8. sendto() 與 recvfrom()- 來點 DGRAM
    • 5.9. close() 與 shutdown()- 你消失吧!
    • 5.10. getpeername()-你是誰?
    • 5.11. gethostname()-我是誰?
  • 6. Client-Server 基礎
    • 6.1. 簡單的 Stream Server
    • 6.2. 簡單的 Stream Client
    • 6.3. Datagram Sockets
  • 7. 進階技術
    • 7.1. Blocking(阻塞)
    • 7.2. select():同步 I/O 多工
    • 7.3. 不完整傳送的後續處理
    • 7.4. Serialization:如何封裝資料
    • 7.5. 資料封裝
    • 7.6. 廣播封包:Hello World!
  • 8. 常見的問題
  • 9. Man 使用手冊
    • 9.1. accept()
    • 9.2. bind()
    • 9.3. connect()
    • 9.4. close()
    • 9.5. getaddrinfo(), freeaddrinfo(), gai_strerror()
    • 9.6. gethostname()
    • 9.7. gethostbyname(), gethostbyaddr()
    • 9.8. getnameinfo()
    • 9.9. getpeername()
    • 9.10. errno
    • 9.11. fcntl()
    • 9.12. htons(), htonl(), ntohs(), ntohl()
    • 9.13. inet_ntoa(), inet_aton(), inet_addr
    • 9.14. inet_ntop(), inet_pton()
    • 9.15. listen()
    • 9.16. perror(), strerror()
    • 9.17. poll()
    • 9.18. recv(), recvfrom()
    • 9.19. select()
    • 9.20. setsockopt(), getsockopt()
    • 9.21. send(), sendto()
    • 9.22. shutdown()
    • 9.23. socket()
    • 9.24. struct sockaddr and pals
  • 10. 參考資料
    • 10.1. 書籍
    • 10.2. 網站參考資料
    • 10.3. RFC
  • 11. 原著誌謝
Powered by GitBook
On this page
Edit on GitHub
  1. 10. 參考資料

10.3. RFC

RFC [65] 真的是非常原汁原味!這些文件說明了分配的數字、程式設計 API、及 Internet 上使用的通訊協定。

我已經在這裡幫你引用了一些 RFCs 的連結,所以你可以拿桶爆米花並開始你的學習之旅:

RFC 1 [66] — 第一篇 RFC;它會告訴你的事:比如什麼是 “Internet” 呢?因它融入生活,而深入了解它是如何設計的,這類的想法。[顯然這份 RFC 已經過時了!]

RFC 768 [67]—The User Datagram Protocol (UDP)

RFC 791 [68]—The Internet Protocol (IP)

RFC 793 [69]—The Transmission Control Protocol (TCP)

RFC 854 [70]—The Telnet Protocol

RFC 959 [71]—File Transfer Protocol (FTP)

RFC 1350 [72]—The Trivial File Transfer Protocol (TFTP)

RFC 1459 [73]—Internet Relay Chat Protocol (IRC)

RFC 1918 [74]—Address Allocation for Private Internets

RFC 2131 [75]—Dynamic Host Configuration Protocol (DHCP)

RFC 2616 [76]—Hypertext Transfer Protocol (HTTP)

RFC 2821 [77]—Simple Mail Transfer Protocol (SMTP)

RFC 3330 [78]—Special-Use IPv4 Addresses

RFC 3493 [79]—Basic Socket Interface Extensions for IPv6

RFC 3542 [80]—Advanced Sockets Application Program Interface (API) for IPv6

RFC 3849 [81]—IPv6 Address Prefix Reserved for Documentation

RFC 3920 [82]—Extensible Messaging and Presence Protocol (XMPP)

RFC 3977 [83]—Network News Transfer Protocol (NNTP)

RFC 4193 [84]—Unique Local IPv6 Unicast Addresses

RFC 4506 [85]—External Data Representation Standard (XDR)

IETF 有一個很棒的線上工具,可以搜尋與瀏覽 RFC [86]。

Previous10.2. 網站參考資料Next11. 原著誌謝

Last updated 2 years ago

[65]

[66]

[67]

[68]

[69]

[70]

[71]

[72]

[73]

[74]

[75]

[76]

[77]

[78]

[79]

[80]

[81]

[82]

[83]

[84]

[85]

[86]

http://www.rfc-editor.org/
http://tools.ietf.org/html/rfc1
http://tools.ietf.org/html/rfc768
http://tools.ietf.org/html/rfc791
http://tools.ietf.org/html/rfc793
http://tools.ietf.org/html/rfc854
http://tools.ietf.org/html/rfc959
http://tools.ietf.org/html/rfc1350
http://tools.ietf.org/html/rfc1459
http://tools.ietf.org/html/rfc1918
http://tools.ietf.org/html/rfc2131
http://tools.ietf.org/html/rfc2616
http://tools.ietf.org/html/rfc2821
http://tools.ietf.org/html/rfc3330
http://tools.ietf.org/html/rfc3493
http://tools.ietf.org/html/rfc3542
http://tools.ietf.org/html/rfc3849
http://tools.ietf.org/html/rfc3920
http://tools.ietf.org/html/rfc3977
http://tools.ietf.org/html/rfc4193
http://tools.ietf.org/html/rfc4506
http://tools.ietf.org/rfc/