📙
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. 版权与出版(Copyright and Distribution)
  • 2. 何谓 Socket
    • 2.1. 两种 Internet Sockets
    • 2.2. 底层漫谈与网路理论
  • 3. IP address丶结构与数据转换
    • 3.1. IPv4 与 IPv6
      • 31.1. Sub network (子网)
      • 3.1.2. Port Number(连接埠号码)
    • 3.2. Byte Order(字节的顺序)
    • 3.3. 数据结构
    • 3.4. IP address,Part II
      • 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()-"谢谢你调用 port 3490"
    • 5.7. send() 与 recv()- 宝贝,跟我说说话!
    • 5.8. sendto() 与 recvfrom()- 用 DGRAM 风格跟我说说话
    • 5.9. close() 与 shutdown()-从我面前消失吧!
    • 5.10. getpeername()-你是谁?
    • 5.11. gethostname()-我是誰?
  • 06-Client-Server 基础
    • 6.1. 简易的 Stream Server
    • 6.2. 简易的 Stream Client
    • 6.3. Datagram Sockets
  • 07-高等技术
    • 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()
    • close()
    • getaddrinfo(), freeaddrinfo(), gai_strerror()
    • gethostname()
    • gethostbyname(), gethostbyaddr()
    • getnameinfo()
    • getpeername()
    • errno
    • fcntl()
    • htons(), htonl(), ntohs(), ntohl()
    • inet_ntoa(), inet_aton(), inet_addr
    • inet_ntop(), inet_pton()
    • listen()
    • perror(), strerror()
    • poll()
    • recv(), recvfrom()
    • select()
    • setsockopt(), getsockopt()
    • send(), sendto()
    • shutdown()
    • socket()
    • 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 上使用的协议。 我已经在这里帮你引用了一些 RFC 的链接,所以你可以拿桶爆米花并开始你的学习之旅: 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]。 [65] http://www.rfc-editor.org/

[66] http://tools.ietf.org/html/rfc1

[67] http://tools.ietf.org/html/rfc768

[68] http://tools.ietf.org/html/rfc791

[69] http://tools.ietf.org/html/rfc793

[70] http://tools.ietf.org/html/rfc854

[71] http://tools.ietf.org/html/rfc959

[72] http://tools.ietf.org/html/rfc1350

[73] http://tools.ietf.org/html/rfc1459

[74] http://tools.ietf.org/html/rfc1918

[75] http://tools.ietf.org/html/rfc2131

[76] http://tools.ietf.org/html/rfc2616

[77] http://tools.ietf.org/html/rfc2821

[78] http://tools.ietf.org/html/rfc3330

[79] http://tools.ietf.org/html/rfc3493

[80] http://tools.ietf.org/html/rfc3542

[81] http://tools.ietf.org/html/rfc3849

[82] http://tools.ietf.org/html/rfc3920

[83] http://tools.ietf.org/html/rfc3977

[84] http://tools.ietf.org/html/rfc4193

[85] http://tools.ietf.org/html/rfc4506

[86] http://tools.ietf.org/rfc/

Previous10.2. 网站参考资料Next11. 原着鸣谢

Last updated 2 years ago