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. 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. 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. We have a pair of Simple TCP Server/Client written with Qt5, using QTcpSocket and QTcpServer. 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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |