There are only 3 wifi nodes in this simple network.
The program is to realize the function that sending data from n1 to n2, transmiting by ap, three nodes are in the same network, their ip address are assigned and the topology
as following.
n1 ap n2
* * *
1.1 1.2 1.3
192.168.1.0
I have already realized this fuction, but when I look up the pcap file in wireshark, it shows some errors.
1, Tcp Out of Order
![](https://lh3.googleusercontent.com/-Hqj1UB4kZLc/WQgZgxgNEaI/AAAAAAAAA7o/G-90k_b_nREpPkg1ELS-dhTMHxJGVYL8wCLcB/s400/QQ%25E5%259B%25BE%25E7%2589%258720170502133020.png)
2, Tcp Duplication and retrasmission
![](https://lh3.googleusercontent.com/-_TFAF9_PFQI/WQgaCPPRjNI/AAAAAAAAA7s/JxsJl7eSKRkq2kP3Sba-ZkbgTsyFSj_qACLcB/s400/QQ%25E5%259B%25BE%25E7%2589%258720170502133141.png)
Maybe some parameters are not set correctly. Maybe the way itself I realized is wrong. The source code and pcap files have been uploaded as attachments.