Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2012/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python WireShark消息_Python_Visual Studio 2012_Wireshark - Fatal编程技术网

Python WireShark消息

Python WireShark消息,python,visual-studio-2012,wireshark,Python,Visual Studio 2012,Wireshark,我用python在vs2012中编写了一个应用程序,我希望看到发送和接收到应用程序的消息。 当我打开wireshark时,我看到很多信息被传递出去。 有没有办法让wireshark只关注我的应用程序? 谢谢大家! 如果您知道应用程序使用的端口号,您可以通过将tcp.port==1234放在过滤器工具栏中,按该端口进行过滤。消息是什么意思?网络IO、套接字等?我认为听一个特定的应用程序是不可能的。但您可能会听到TCP消息(注意:scapy可能是另一种选择,它就像python的wireshark),

我用python在vs2012中编写了一个应用程序,我希望看到发送和接收到应用程序的消息。 当我打开wireshark时,我看到很多信息被传递出去。 有没有办法让wireshark只关注我的应用程序?
谢谢大家!

如果您知道应用程序使用的端口号,您可以通过将
tcp.port==1234
放在过滤器工具栏中,按该端口进行过滤。

消息是什么意思?网络IO、套接字等?我认为听一个特定的应用程序是不可能的。但您可能会听到TCP消息(注意:scapy可能是另一种选择,它就像python的wireshark),这是一些备选方案的建议