Tcp吞吐量图

时间:2011-06-08 22:21:52

标签: tcp

我在vb.net..m的控制台上创建了一个TCP客户端/服务器聊天软件,使用本地主机进行此程序意味着数据包从同一网络接口卡发送和接收。 现在我在Wireshark上从这个软件中捕获了数据包。我想从wireshark上捕获的数据中绘制TCp吞吐量图,但是我遇到了这个问题......请帮助我......! 还教我应该在x和y轴上采用哪个值。?

这是我在wireshark上捕获的数据,因为我无法区分发送和接收的pckets ..!

No.,"Time","Source","Destination","Protocol","Info","New Column","New Column"
1,"0.000000","115.186.111.66","115.186.111.66","TCP","pda-data > versiera [PSH, ACK] Seq=1 Ack=1 Win=65510 Len=3","1","9050"


2,"0.441512","115.186.111.66","115.186.111.66","TCP","[TCP Retransmission] pda-data > versiera [PSH, ACK] Seq=1 Ack=1 Win=65510 Len=3","2","9050"


3,"0.442643","115.186.111.66","115.186.111.66","TCP","versiera > pda-data [PSH, ACK] Seq=1 Ack=4 Win=65532 Len=3","3","3253"

4,"0.829213","115.186.111.66","115.186.111.66","TCP","[TCP Retransmission] versiera > pda-data [PSH, ACK] Seq=1 Ack=4 Win=65532 Len=3","4","3253"

5,"0.949875","115.186.111.66","115.186.111.66","TCP","pda-data > versiera [ACK] Seq=4 Ack=4 Win=65507 Len=0","5","9050"

6,"1.259930","115.186.111.66","115.186.111.66","TCP","[TCP Dup ACK 5#1] pda-data > versiera [ACK] Seq=4 Ack=4 Win=65507 Len=0","6","9050"

7,"6.755535","115.186.111.66","115.186.111.66","TCP","pda-data > versiera [PSH, ACK] Seq=4 Ack=4 Win=65507 Len=3","7","9050"

8,"7.119189","115.186.111.66","115.186.111.66","TCP","[TCP Retransmission] pda-data > versiera [PSH, ACK] Seq=4 Ack=4 Win=65507 Len=3","8","9050"

9,"7.119833","115.186.111.66","115.186.111.66","TCP","versiera > pda-data [PSH, ACK] Seq=4 Ack=7 Win=65529 Len=3","9","3253"

10,"7.467483","115.186.111.66","115.186.111.66","TCP","[TCP Retransmission] versiera > pda-data [PSH, ACK] Seq=4 Ack=7 Win=65529 Len=3","10","3253"

11,"7.588601","115.186.111.66","115.186.111.66","TCP","pda-data > versiera [ACK] Seq=7 Ack=7 Win=65504 Len=0","11","9050"

12,"7.931341","115.186.111.66","115.186.111.66","TCP","[TCP Dup ACK 11#1] pda-data > versiera [ACK] Seq=7 Ack=7 Win=65504 Len=0","12","9050"

13,"11.311228","115.186.111.66","115.186.111.66","TCP","pda-data > versiera [PSH, ACK] Seq=7 Ack=7 Win=65504 Len=3","13","9050"

14,"11.650297","115.186.111.66","115.186.111.66","TCP","[TCP Retransmission] pda-data > versiera [PSH, ACK] Seq=7 Ack=7 Win=65504 Len=3","14","9050"

15,"11.650931","115.186.111.66","115.186.111.66","TCP","versiera > pda-data [PSH, ACK] Seq=7 Ack=10 Win=65526 Len=3","15","3253"

16,"11.953358","115.186.111.66","115.186.111.66","TCP","[TCP Retransmission] versiera > pda-data [PSH, ACK] Seq=7 Ack=10 Win=65526 Len=3","16","3253"

17,"12.114983","115.186.111.66","115.186.111.66","TCP","pda-data > versiera [ACK] Seq=10 Ack=10 Win=65501 Len=0","17","9050"

18,"12.388906","115.186.111.66","115.186.111.66","TCP","[TCP Dup ACK 17#1] pda-data > versiera [ACK] Seq=10 Ack=10 Win=65501 Len=0","18","9050"

19,"18.455431","115.186.111.66","115.186.111.66","TCP","pda-data > versiera [PSH, ACK] Seq=10 Ack=10 Win=65501 Len=3","19","9050"

20,"18.699858","115.186.111.66","115.186.111.66","TCP","[TCP Retransmission] pda-data > versiera [PSH, ACK] Seq=10 Ack=10 Win=65501 Len=3","20","9050"

抱歉,我找不到比这更好的方法来发布我的wirehsrak数据:-O

1 个答案:

答案 0 :(得分:0)

由于您正在监控PC与其自身之间的对话,是的,这会使其变得困难。一般来说,如果你是来源,那么你就是在发送,如果你是目的地,那么你就是在接收。

我建议X轴是时间,Y轴是吞吐量。