楼主: -.-
跳转到指定楼层
上一主题 下一主题
收起左侧

恋爱就像TCP

🔗
weiwlw 2010-4-26 19:23:10 | 只看该作者
全局:
强淫

感觉协议实在是太枯燥了。。

不知道网络和嵌入式在国外前景怎样?
-.- 发表于 2010-4-26 18:26


应用内的在国内都很强大,研发就没啥前途了
回复

使用道具 举报

🔗
zach 2010-4-26 21:52:13 | 只看该作者
全局:
UDP根本就没确认,怎么勾搭法啊?
weiwlw 发表于 2010-4-26 19:22
不确认也没关系么……喝高了呀什么的,所以叫ons么
回复

使用道具 举报

🔗
smiler 2010-4-27 00:00:12 | 只看该作者
全局:
这个嘛,讲的是网络的一种通信协议运作过程,  就是两个设备通信握手的过程,  用来比喻恋爱
weiwlw 发表于 2010-4-26 19:20


话说我还学过“网络通信工程”这门院选课的。。用于混学分。。。。哎呀全还给老师了。。
回复

使用道具 举报

🔗
glass_hour 2010-4-27 11:38:11 | 只看该作者
全局:
我wiki了一下
1.TCP:The Transmission Control Protocol (TCP) is one of the core protocols of the Internet Protocol Suite. TCP is one of the two original components of the suite (the other being Internet Protocol, or IP), so the entire suite is commonly referred to as TCP/IP. Whereas IP handles lower-level transmissions from computer to computer as a message makes its way across the Internet, TCP operates at a higher level, concerned only with the two end systems, for example a Web browser and a Web server. In particular, TCP provides reliable, ordered delivery of a stream of bytes from a program on one computer to another program on another computer. Besides the Web, other common applications of TCP include e-mail and file transfer. Among its other management tasks, TCP controls segment size, flow control, the rate at which data is exchanged, and network traffic congestion.
回复

使用道具 举报

🔗
glass_hour 2010-4-27 11:40:24 | 只看该作者
全局:
本帖最后由 glass_hour 于 2010-4-27 11:43 编辑

2、SYN & SYN-ACK

To establish a connection, TCP uses a three-way. Before a client attempts to connect with a server, the server must first bind to a port to open it up for connections: this is called a passive open. Once the passive open is established, a client may initiate an active open. To establish a connection, the three-way (or 3-step) handshake occurs:
  • The active open is performed by the client sending a SYN to the server. It sets the segment's sequence number to a random value A.
  • In response, the server replies with a SYN-ACK. The acknowledgment number is set to one more than the received sequence number (A + 1), and the sequence number that the server chooses for the packet is another random number, B.
  • Finally, the client sends an ACK back to the server.(是在说第三者么?) The sequence number is set to the received acknowledgement value i.e. A + 1, and the acknowledgement number is set to one more than the received sequence number i.e. B + 1.
At this point, both the client and server have received an acknowledgment of the connection.
回复

使用道具 举报

🔗
glass_hour 2010-4-27 11:43:09 | 只看该作者
全局:
最后一个
RST
Reset flag in the Transmission Control Protocol (TCP)
回复

使用道具 举报

🔗
edwardgtxy 2010-4-27 18:43:07 | 只看该作者
全局:
why not p2p....
zach 发表于 2010-4-26 19:10

p2p需要一个overlay做tracker。。
回复

使用道具 举报

🔗
edwardgtxy 2010-4-27 18:47:38 | 只看该作者
全局:
tcp博大精深光,光window size control就可以讲半天~~更别说里面还有一堆小trick例如isn一般是用作tcp session cookie来防syn atk,还有强大的segmentation设计,感觉光tcp的就可以设计一个无与伦比恶心的考试。
回复

使用道具 举报

🔗
 楼主| -.- 2010-4-27 18:53:54 | 只看该作者
全局:
tcp博大精深光,光window size control就可以讲半天~~更别说里面还有一堆小trick例如isn一般是用作tcp session cookie来防syn atk,还有强大的segmentation设计,感觉光tcp的就可以设计一个无与伦比恶心的考试。
edwardgtxy 发表于 2010-4-27 18:47

果然不同凡响。。

国内教的那叫啥啊。。当然我课外也没怎么学。。
回复

使用道具 举报

🔗
zach 2010-4-27 23:33:14 | 只看该作者
全局:
p2p需要一个overlay做tracker。。
edwardgtxy 发表于 2010-4-27 18:43
tracker=酒吧、劲舞团   etc……
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表