I have a device which sends out a raw (Layer 2) Ethernet packet which I need to read and decode using a Qt based C++ Windows application. I believe I can do it using the winpcap libraries but would prefer a Qt way if possible.
Asked
Active
Viewed 901 times
2
-
1There's no "Qt way" of replacing pcap. – peppe Apr 04 '16 at 16:40
1 Answers
2
Get a raw packet from pcap, wrap into QByteArray
, munch on it using QDataStream
. Qt doesn't include a replacement for pcap, so that's out of the question.

Kuba hasn't forgotten Monica
- 95,931
- 16
- 151
- 313