Qt-interest Archive, May 2008
UDPSocket checksum
Message 1 in thread
Hi all,
Is there a way to set a UDP packet with no checksum (0 checksum on the
header) using the QUdpSocket class?
Thanks!
Juan-Pablo
--
[ signature omitted ]
Message 2 in thread
I've still being trying to do this but with no luck. Is it true that the
only way to do it is use raw sockets and avoid QT classes?
Thanks,
Juan-Pablo
Juan-Pablo Caceres wrote:
> Hi all,
>
> Is there a way to set a UDP packet with no checksum (0 checksum on the
> header) using the QUdpSocket class?
>
> Thanks!
> Juan-Pablo
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
--
[ signature omitted ]
Message 3 in thread
AFAIK, there's no such API and I doubt there'll be any in the future. If
you set it to an invalid value, remote OS, or even the first router in the
path, will drop your packet as corrupt. If you set it to the correct
value, why do you want to do that yourself?
--
[ signature omitted ]