Still, by my understanding (correct me if I’m wrong), the CRC is something handled by the Ethernet adapter hardware, and since I can capture mostly all other packets through this same Ethernet Interface with WireShark, that also seems unlikely. I did read from the FAQ of WireShark, though, that WinPcap might not capture packets with erroneous CRC. My Ethernet adapter is that of Realtek PCI GBE Family Controller, and the driver is up to date. I also made sure that I’m running with an Administrator account, and the server and client are allowed through my firewall as well. I’ve seen many people using WireShark with their network apps on the Qt forum, so the possibility of WireShark not being compatible with Qt seems quite slim. I’ve tried writing another server using a WinSock2 socket instead of the QTcpSocket, and still, WireShark can’t detect any packets when the server and client have successfully exchanged data with each other. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. I’m pretty sure the packets are there if the server and client managed to receive data from each other, and I can use RawCap to sniff those packets as well. This question does not meet Stack Overflow guidelines. The strange thing is, WireShark can’t seem to capture any packets exchanged between the Qt server and client. These Qt server and client, both running locally on my own PC, can send strings of text to each other. For more info, see the vconfig (8) man page. Once installed, the vconfig command can be used to create VLAN interfaces on an existing physical device. We have a pair of Simple TCP Server/Client written with Qt5, using QTcpSocket and QTcpServer. To enable VLAN tagging, you need two things: the vlan rpm (e.g., vlan-1.8-23) and the 8021q kernel module. To put it short, are there any scenarios where WireShark can fail to capture packets from and to a local machine? I’m rather fresh with socket programming, and right now I needed some guidance as to where I should start tackling this problem.
0 Comments
Leave a Reply. |