如何知道数据传输时服务器接收到的最后一个TCP段是哪个? [英] how to know which is the last TCP segment recieved by the server when data transfering ?

查看:132
本文介绍了如何知道数据传输时服务器接收到的最后一个TCP段是哪个?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在TCP中传输数据并给定所有传入和传出数据包时,如何知道接收到的数据包是否是数据的最后一个.

tcp数据包被分成较小的部分..
而这个tcp封包就是http


谢谢..

when transferring data in TCP, and given all the incoming and outcoming packets, how will one know if the packet recievied is the last of the data..

tcp packets are fragmented into smaller parts..
and this tcp packets are that of http


thanks..

推荐答案

必须在TCP/IP上使用的应用协议中实现. HTTP的详细信息在这里:

http://www.w3.org/Protocols/rfc2616/rfc2616.html [ ^ ]

尼克
This must be implemented in the application protocol which is being used over TCP/IP. The details for HTTP are here:

http://www.w3.org/Protocols/rfc2616/rfc2616.html[^]

Nick


这篇关于如何知道数据传输时服务器接收到的最后一个TCP段是哪个?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆