2

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.

Chuck Claunch
  • 1,624
  • 1
  • 17
  • 29

1 Answers1

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