Chinaunix首页 | 论坛 | 博客
  • 博客访问: 19726601
  • 博文数量: 679
  • 博客积分: 10495
  • 博客等级: 上将
  • 技术积分: 9308
  • 用 户 组: 普通用户
  • 注册时间: 2006-07-18 10:51
文章分类

全部博文(679)

文章存档

2012年(5)

2011年(38)

2010年(86)

2009年(145)

2008年(170)

2007年(165)

2006年(89)

分类: C/C++

2010-06-17 16:55:44

第1章 简介
一些关于网络基 础的参考资料:
TCP/IP, volume 1, Principles, Protocols, and Architecture (fifth edition). Prentice Hall, 2005
Internetworking with TCP/IP, volume 3, Client-Server Programming and Applications (BSD version, second edition). Prentice Hall, 1996
Computer Networks: A Systems Approach (fourth edition). Morgan Kaufmann, 2007
TCP/IP Illustrated, volume 1, The Protocols. Addison-Wesley, 1994
TCP/IP Illustrated, volume 2, The Implementation. Addison-Wesley, 1995

1.1 网络、分组和协议
1.2 关于地址
    IPv6地址为128位。记录方法:2000:fdb8:0000:0000:0001:00ab:853c:
39a1。转换 132.3.23.7 is ::ffff:132.3.23.7 同时还需要IPv6 转发服务。
    端口号1 to 65,535 (0 is reserved).

    回环地址:IPv4 is 127.0.0.1;1 for IPv6 it is 0:0:0:0:0:0:0:1 (or just ::1).
    私有地址以及自动配置地址:(169.254.,whose first 16-bit chunk is FE80, FE90,FEA0, or FEB0 is a link-local address)
    多播地址:224 to 239. In IPv6, multicast addresses start with FF
1.3 关于名称
1.4 客户与服务器
    客户端一般需要知道服务器的地址和端口。知名端口列表:。P2P其实也是CS模型的。
1.5 什么是套接字
    组成:Internet address, an end-to-end protocol (TCP or UDP), and a port number.

阅读(31870) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~