如何从IP数据包获取数据 [英] how to get the data from an ip packet

查看:448
本文介绍了如何从IP数据包获取数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
我正在制作一个将从ip数据包中检索电子邮件内容的应用程序...
我是网络编程的初学者..任何人都可以向我发送一些有关此示例....
thanx
关于问候

hi all
a i am making an application that would retrieve the contents of the email from the ip packet...
i am a beginner in network programming..can any body send me some samples about this....
thanx
with regards

推荐答案

否.
为什么不?因为它不起作用.
没有包含整个电子邮件的"IP数据包":像其他所有内容一样,它们被分成多个数据包,并且必须以正确的顺序来构建电子邮件.没有数据包类型可以显示我保留电子邮件数据"或类似内容,您可以抓取.

抱歉-回到绘图板上! :laugh:
No.
Why not? Because it won''t work.
There is no "IP Packet" that contains the whole of an email: like everything else, they are broken across a number of packets, and all of them are required, in the right order, to build the email. There is no packet type which says "I hold email data" or similar which you can grab.

Sorry - back to the drawing board! :laugh:


这篇关于如何从IP数据包获取数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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