拦截来自特定程序或特定端口的TCP数据 [英] Intercept TCP data from a specific program or to a specific port

查看:508
本文介绍了拦截来自特定程序或特定端口的TCP数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种捕获TCP通信的方法.这是通过PC软件发送到工业控制的以太网数据.软件工程师不在附近聊天.如果我可以捕获tcp的内容(只是ascii),那么我可以来回理解代码.

I am looking for a way to capture tcp traffic. This is ethernet data sent to an industrial control by PC software. Software engineer is not around to talk with. If I can capture the tcp stuff (it''s just ascii) I can understand the codes back and forth. Traffic exchanged is very minimal and we control exactly when it is sent/received.

推荐答案

如果只想捕获并查看特定端口上的数据,请使用 Wireshark [ ^ ].或者,如果要创建捕获特定TCP流量的程序,请使用 Winpcap [
If you want to just capture and see the data on a specific port, use Wireshark[^]. Or if you want to create a program that captures specific TCP traffic, use Winpcap[^] library.


这篇关于拦截来自特定程序或特定端口的TCP数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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