[Qt-interest] QtNetwork and raw ethernet properties

Benjamin ikipou at gmail.com
Mon Dec 8 18:55:06 CET 2008


Hello,

You can get the Mac address of the network interface with
QNetworkInterface::hardwareAddress (). For the low level information
on the packets, I don't see a way in Qt, but libpcap is good at this
:)

Best regards,
Benjamin

2008/12/8 Abdel Younes <younes.abdel at gmail.com>
>
> Hello,
>
> Google cannot give me an answer about this.
>
> I am wondering... is it possible to manipulate raw ethernet parameters
> thanks to QtNetwork? Things like Mac addresses, vlan and tos bits? And
> if not, would it be easy to extend the library in order to do this? If
> not again, would someone recommend a good C++ library able to do this
> kind of things? I mean, except for libpcap...
>
> Thanks in advance for any answer,
> Abdel.
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest



More information about the Qt-interest-old mailing list